Re: Post Office barcodes
- Posted by Judith Evans <camping at FLASH.NET> Jan 30, 2000
- 496 views
Thanks Irv, I spent all day figuring out the barcode for numbers 0-9. Collected every envelope we had laying around with barcodes on them and luckily found all the numbers. With a writeup from one of the sites you told me about earlier I could figure them out. Many thanks. But when I tried to 'draw' bars on the printer, I got stuck! Apparently drawLine in win32lib does not work with the Printer (or I've done something incorrectly again.) I looked in all my fonts for anything close to a bar but couldn't find anything. I remember way back in ancient history (early last year) that somebody posted a couple of printer routines for printing from Windows. One of the things was a line drawn diagonally across the page and some text. I can't find it anymore right when it would be useful. I'm sure it used TextOut in some way. I looked at the c example in one of the sites you posted earlier. I don't know C and the program wanted to link an .obj library. Guess that is where the graphics are to draw the barcode. I'll give the new site a look tomorrow and download. In the meantime, does anybody know how to draw a line or narrow rectangle to the printer? Judith Evans