Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing to POS customer display
Message
De
11/09/2006 02:48:25
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows 2000
Divers
Thread ID:
01152633
Message ID:
01152704
Vues:
19
>Hi,
>
>I try to print directly to a (Escape sequence enabled) customer display connected to the COM-port on my computer, but everytime I try this:
>
>SET PRINT TO COM1
>SET DEVI TO PRINT
>@ 1,1 SAY CHR(12)
>
>the printout goes to my printer on the USB-port.
>
>What am I doing wrong here?
>
>PS: The display does not come with a printer driver.

If you don't find any better way, you can try with 'Generic/Text only' printer driver. It was long time ago, so I don't remember if there are any specific settings except port, but this used to work ok. I was not to happy having to set it as separate PD on each POS, but at the time that was first solution that worked without any problems.
Use ?/??/??? commands to send output rather then @...say


You could also play/try with preparing/copying small txt files directly to display port. There was such solution provided here in one of POS related threads.

You should also look at MsComm32 library.

HTH
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform