Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
??? - Labels
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
??? - Labels
Divers
Thread ID:
00871579
Message ID:
00871579
Vues:
60
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform