print barcode on a HP laser
Posted in 2004
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Platform-Specific Issues
Hi everyone, Do anyone know how to set up a printer to print a barcode from an Informix code (4gl)? Right now we have a program that print a barcode on an old line printer. We want to change to print on a laser jet printer which is HP printer. Our system is on an IBM with AIX operating system and 9.3 online informix version. Thanks in advance, Tah Davis Programmer Analyst PH: (630) 203-3270 Fax: (630) 323-8578 Email: tdavis@knrq.com <mailto:tdavis@knrq.com> Web: www.knrq.com <http://www.knrq.com>
Tah, If it is like the last printer I worked with, then the barcode printing is probably implemented internally via a font control mechanism. So your 4gl program would have to transmit the font selection, size, pitch, and such escape sequences to the printer. Then, you should only have to print the values from the database. Lastly, reset the printer to some known default so your boss's next memo would be readable! Davis, Tah wrote: > Hi everyone, > Do anyone know how to set up a printer to print a barcode from an > Informix code (4gl)? Right now we have a program that print a barcode on an > old line printer. We want to change to print on a laser jet printer which is > HP printer. > Our system is on an IBM with AIX operating system and 9.3 online informix > version. > > > Thanks in advance, > Tah Davis > Programmer Analyst > PH: (630) 203-3270 Fax: (630) 323-8578 > Email: tdavis@knrq.com <mailto:tdavis@knrq.com> Web: www.knrq.com > <http://www.knrq.com> > > > -- ( ______ )) .-- Scott MacKenzie; Dine' College ISD --. >===<--. C|~~| (>--- Phone/Voice Mail: 928-724-6639 ---<) | ; o |-' | | \\\\--- Senior DBA/CARS Coordinator/Etc. --/ | _ | `--' `-- E: scottm at dinecollege dot edu -' `-----'