Printer Commands

  • Thread starter Thread starter Ken
  • Start date Start date
K

Ken

In my form, I need to send a series of commands to a
label printer located on LPT1. For example:

Start
L1,"12345"
L2,"54321"
L3,987654"
Stop

Unfortunately, I cannot just create a report and print
it. The printer only works in command mode.

Any ideas? Thanks.

Ken
 
Hi Ken

Have you tried writing the data directly to LPT1?

Open "LPT1:" for Output as #1
Print #1, "Start"
Print #1, "L1, ""12345"""
....etc
Close #1
 
Back
Top