Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Boca Printer using Friendly Ghost Language
Message
From
17/07/2007 15:00:12
 
 
To
17/07/2007 14:40:22
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01240876
Message ID:
01241242
Views:
27
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform