By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,640 Members | 1,363 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,640 IT Pros & Developers. It's quick & easy.

Is something like this Class available

P: n/a
Ealier I have found Class called as Rs232. After importing it into project,
it was easy to use for printing string to the COM-port like ...

Dim p As Rs232 = New Rs232
p.Open("MyPortSettings ...")
p.Write("MyStringToPort ...")
p.Close()

.... but it there somekind of Class like this available for LPT-port printing
too?

I have made LPT-printing with really hard to understand code example like
shown in http://support.microsoft.com/default...b;en-us;823179, but
I think "simple is beautiful" in coding too :)

--
Thanks in advance!

Mika
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Mika,

Is this what you are looking for (it has a printing section)

http://msdn.microsoft.com/library/de...l/win32map.asp

I hope it helps somehow?

Cor
Nov 21 '05 #2

P: n/a
* "Mika M" <mika.mahonen@nospam_kolumbus.fi> scripsit:
Ealier I have found Class called as Rs232. After importing it into project,
it was easy to use for printing string to the COM-port like ...

Dim p As Rs232 = New Rs232
p.Open("MyPortSettings ...")
p.Write("MyStringToPort ...")
p.Close()

... but it there somekind of Class like this available for LPT-port printing
too?


HOW TO: Send Raw Data to a Printer by Using Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;322090>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.