Is something like this Class available

  • Thread starter Thread starter Mika M
  • Start date Start date
M

Mika M

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.aspx?scid=kb;en-us;823179, but
I think "simple is beautiful" in coding too :)
 
* "Mika M said:
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>
 
Back
Top