Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Receipt Printer Problem
Message
 
 
À
15/07/2005 19:18:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01033025
Message ID:
01033941
Vues:
21
>Hi Mark,
>
>I am using REPORT FORM TO PRINTER command for printing to the receipt printer.
>
>I used VFP 9 report writer.
>
>I already select Epson driver when i designing the report.
>
>I am using. EPSON TM-U210B Partical Cut receipt printer.
>
>
>Holden

The problem with using a VFP report is you have NO idea how long the receipt needs to be. I use the Epson OPOS ADK (App Dev Kit) OCX to control the printer. Then you do not need any Windows printer set up in the printers control panel, and you do not use a VFP report form. This ADK is free from Epson once you register at https://www.epsonexpert.com/

Another option is to create a generic text printer in the Windows Control Panel, use the SET PRINTER TO command to set the printer to that text printer, and use ??? to output your lines to the receipt printer. You will need to know escape sequences for the printer for paper cutting, etc.

If you are interested in example VFP OPOS code that I use, click the FoxPro Tools link at http://www.mctweedle.com
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform