Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
??? - Labels
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
??? - Labels
Miscellaneous
Thread ID:
00871579
Message ID:
00871579
Views:
61
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
Map
View

Click here to load this message in the networking platform