Sending data directly to a printer ?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to know how to send data directly to a printer on a parallel connection. Let's say you want to send the following data

Chr$(10) & "N" & Chr$(10
"Q75,10+0" & Chr$(10
"Text Data Is On This Line" & CHR$(10

Ok so what would be the exact structure to send these setup instructions and data to the printer

Your help is greatly appreciate
 
try this, works in W2K.
Open "LPT1:" For Output Access Write As #1
Print #1, ESCString
Close #1

Dbishop said:
I need to know how to send data directly to a printer on a parallel
connection. Let's say you want to send the following data:
 
Back
Top