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

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform