Re: Bar code printing
Posted in 1998
Escape code alone will not work. You need the font. If you are using PC, there are plenty of free fonts on the net. The next issue is how you plan to read the barcode back? Some kind of barcode readers, right? If you do plan to read the barcode labels (otherwise they are useless), you need to insert start and stop bits (or characters). Chao Din Sr. Computer Scientist CSC Michael Hoffman wrote: > Hi all, > This is not specifically a 4GL problem, but I'm hoping someone > can point me in the right direction. > > I have a 4GL report that needs barcodes printed on it (for labels). > The barcode number values are stored in a field in the DB. > > I am printing on an HP LaserJet 4si with both internal and Postscript > fonts. > > What are the escape codes (and how do I write them) that need to be > included in the report? I believe I just have to say "print escape_sequence" > and the printer will set itself accordingly. > > Oh, before you say RTFM, I'm a consultant here and they don't have the > FM!!! :-} I tried calling HP, but they are totally unresponsive. > > Have any of you done barcode printing before? Any help would be much > appreciated. (And if in the NYC area, worth a beer or two!) > > Thanks, > Michael Hoffman