1. Post Office barcodes
- Posted by Judith Evans <camping at FLASH.NET> Jan 30, 2000
- 543 views
Hi, I want to add the Postal barcodes to my envelope printing app. Does anyone know where I can find them? I presume they are a font. My WEB search only resulted in highpriced softwares mainly directly to companies. Thanks, Judith Evans
2. Re: Post Office barcodes
- Posted by Irv Mullins <irv at ELLIJAY.COM> Jan 30, 2000
- 536 views
----- Original Message ----- From: Judith Evans <camping at FLASH.NET> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Sunday, January 30, 2000 8:35 AM Subject: Post Office barcodes > Hi, > > I want to add the Postal barcodes to my envelope printing app. Does anyone > know where I can find them? I presume they are a font. My WEB search only > resulted in highpriced softwares mainly directly to companies. > Hi, Judith I agree - seems like there should be a free barcode font, since the USPS requires the use of barcode on automated mailings. Paying $150 or more for a font that contains two (count 'em, 2) symbols, is outrageous. So far, I have found: free Postnet font - not sure if it is "munged". http://www.jgilmore.com/postnet.htm has a C library which you can call to print Postnet barcodes. There's a full demo (limited # of prints at each run) and the price to unlock the limit is only $39.00 http://www.mecsw.com/specs/postnet.html has specs and a short C program to calculate the Postnet code/checkdigit. If you want to go to zip+4, to get discounts, there's an additional problem: You'll have to verify the addresses with CASS. see http://www.worksright.com/casswrsi.html as well as ABE (Automated Barcode Evaluation) tests. Irv
3. Re: Post Office barcodes
- Posted by Judith Evans <camping at FLASH.NET> Jan 30, 2000
- 498 views
Thanks Irv for the information on the postal barcodes. I'll give the sites a looksee. I found a freebee from a person in Europe that lets you cut and paste several formats of barcodes but its 3 of 5 looks much different from the normal postal barcodes I've seen. Judith
4. Re: Post Office barcodes
- Posted by Irv Mullins <irv at ELLIJAY.COM> Jan 30, 2000
- 505 views
On Sun, 30 Jan 2000, you wrote: > Thanks Irv for the information on the postal barcodes. I'll give the sites a > looksee. I found a freebee from a person in Europe that lets you cut and > paste several formats of barcodes but its 3 of 5 looks much different from > the normal postal barcodes I've seen. If you don't mind a long download, you can check out http://www.usps.gov for a file named Pub25.pdf which gives full details on how to construct Postnet barcodes. It's about 1.2 megs. Regards, Irv
5. Re: Post Office barcodes
- Posted by Judith Evans <camping at FLASH.NET> Jan 30, 2000
- 497 views
- Last edited Jan 31, 2000
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
6. Re: Post Office barcodes
- Posted by David Cuny <dcuny at LANSET.COM> Jan 30, 2000
- 519 views
- Last edited Jan 31, 2000
Judith Evans wrote: > Apparently drawLine in win32lib does not work with the Printer ... It's *supposed* to work, but I haven't tested it. -- David Cuny
7. Re: Post Office barcodes
- Posted by Judith Evans <camping at FLASH.NET> Jan 31, 2000
- 519 views
David, My apologies! A combination of a bad print cartrigde, grainy paper and my miscalculation of the pixel x,y coordinates were at fault. Your routine works fine. Irv, Wish I had seen your last post before I spent all day figuring out the barcodes. The usps site gave me everything I could ever want to know about barcodes. You have been very helpful and I thank you. Judith Evans On Sun, 30 Jan 2000 19:55:04 -0800, David Cuny <dcuny at LANSET.COM> wrote: >Judith Evans wrote: > >> Apparently drawLine in win32lib does not work with the Printer ... > >It's *supposed* to work, but I haven't tested it. > >-- David Cuny
8. Re: Post Office barcodes
- Posted by Irv Mullins <irv at ELLIJAY.COM> Jan 31, 2000
- 518 views
----- Original Message ----- From: Judith Evans <camping at FLASH.NET> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Monday, January 31, 2000 7:00 AM Subject: Re: Post Office barcodes > David, > My apologies! A combination of a bad print cartrigde, grainy paper and my > miscalculation of the pixel x,y coordinates were at fault. > > Your routine works fine. Judith: I tried drawLine() without success. Could you share some code that demonstrates how to use it? Thanks, Irv
9. Re: Post Office barcodes
- Posted by Judith Evans <camping at FLASH.NET> Jan 31, 2000
- 519 views
Irv, I presume you mean on the printer. If not just skip some code and use Screen where I used Printer in drawLine. ---------------- start of code include win32lib.ew without warning integer ok sequence printerstuff --acquire the printer printerstuff=getPrinter() if length(printerstuff) = 0 then -- user bailed out of print dialog return -- or whatever is suitable in your program end if --set the pen color to whatever you want e.g. Red setPencolor(Printer,Red) --for my barcodes I also set the Pen width --setPenWidth(Printer,5) -- 5 Pixels --start the printer document and a page ok=startDoc("play") ok=startPage() --draw a line at x1,y1 to x2,y2 --when all lines drawn then ok=endPage() ok=endDoc() releasePrinter() --------------------end of code ------------------ On Mon, 31 Jan 2000 08:41:33 -0500, Irv Mullins <irv at ELLIJAY.COM> wrote: > >I tried drawLine() without success. Could you share some code that >demonstrates >how to use it? > >Thanks, >Irv