General information
Category:
Reports & Report designer
I am having a hard time getting VFP to print a single label. I am tring to print to a Epson LX-300+ with tractor feed labels. It is a Serial device (COM1). The problem I am having is when it prints through the windows print driver it uses the paper size of 8 1/2 by 11. I tried to bypass the print driver with ??? code but have not had any luck. With the code below it still uses the printer driver. If I use SET PRINTER TO COM1 it prints to another printer on the machine that is a USB printer. The OS is win98. Any ideas?
SET PRINTER TO NAME "EPSON LX-300+"
SET PRINTER ON
??? chr(27) + "E"
??? "Line 1 -------------"
??? CHR(10) + CHR(13)
??? "Line 2 ============="
??? CHR(10) + CHR(13)
??? "Line 3 +++++++++++++"
??? CHR(10) + CHR(13)
??? "Line 4 >>>>>>>>>>>>>"
??? CHR(10) + CHR(13)
SET PRINTER OFF
SET PRINTER TO
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only