direct output to printer

Chris Liechti cliechti at gmx.net
Fri Jun 7 23:43:05 CEST 2002


Uwe Schmitt <uwe.schmitt at procoders.net> wrote in 
news:adr815$e6m39$2 at hades.rz.uni-sb.de:
> I'd like to print barcodes with a special barcode printer.
> Therefore I have to send raw ASCII data to the printer.
> How can I do this using Python under Windows ???

there is a raw print function in win32all, but i haven't used that. for the 
barcode-printer i used, i sent a bitmap with the barcode. that way you can 
print the same barcode on paper or preview on the screen (i used wxPython).

there are some free barcode fonts around. i use this one:
http://www.squaregear.net/fonts/

chris

-- 
Chris <cliechti at gmx.net>




More information about the Python-list mailing list