Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Boca Printer using Friendly Ghost Language
Message
De
17/07/2007 15:00:12
 
 
À
17/07/2007 14:40:22
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01240876
Message ID:
01241242
Vues:
29
>>I need to print to a Boca Ticket Printer (prints movie tickets, ball games, etc) using their Friendly Ghost Language. Does anyone have experience controlling a Boca printer using VFP, and if so, any tips to share?
>>
>>So far, I am able to print to the printer, but only get the FGL itself to print out, instead of a formatted ticket.
>>
>>
>>set printer TO NAME  "Boca FGL 22/42 200 DPI"
>>set device to printer
>>
>>* bottom left & right
>>@ 0, 0 SAY "<RC340,0><F9>    Admits"
>>@ 0, 0 SAY "<RC365,0><F9>     One"
>>
>>@ 0, 0 SAY "<RC340,200><F9>  Customer"
>>@ 0, 0 SAY "<RC365,200><F9>   Receipt"
>>
>>@ 0, 0 SAY "<P>"
>>
>>set device to screen
>>set printer to
>>
>>
>...
>>If you have any expereience with this, I'd love to hear of the approach that you have used!
>
>You may output the stuff to a text file (using textmerge, probably, but there are other ways) and then send that text file straight to the printer - using RawPrint (see in downloads here). That way the printer gets exactly what you send it, not what Windows thinks you want.


Thanks! I give that a try...
Carsten M. Thode
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform