>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.