Printer Commands

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
 
G

Graham Mandeno

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top