how to print on a ticket printer?
Blitz3D Forums/Blitz3D Programming/how to print on a ticket printer?
| ||
I have Win XP with a parallel epson matrix ticket printer. I have a file, ticket.txt I open a console ("cmd") and type "type ticket.txt >prn" and the ticket is sent to the printer and printed. But from Blitz, the command: execfile "type ticket.txt >prn" does not work Is there an (easy) way to sent ascii chars directly to the printer, or the parallel port? |
| ||
try writing that command out a 'PrintMe.bat' file and exec-ing that instead. also, try forwarding it to >lpt1 instead of prn. It *should* send it directly to the port itself |
| ||
Thx, not bad idea... and it works! :) |