View Single Post
  #2  
Old 21st August 2017, 10:35
günther günther is offline
Guru
 
Join Date: Jan 2002
Location: Ehingen, Germany
Posts: 573
günther is on a distinguished road
Baan: IVc4 - DB: Informix - OS: HP-UX
Hi albertsmid.

Could you have a look at the barcode Interface script such as $BSE/lib/barcode/<your Printer type>/type<your number> (eg. $BSE/lib/barcode/hp/type01)?

PCL printers such as HP have two font sets (primary, secondary). That allows to change font settings Independent of each other.

\016 = <so> shift out - select secondary font to print subsequent characters
\017 = <si> shift in - select primary font to print subsequent characters

So, our type01 looks like this:

echo "\016\033)0Y\033)s0p8.1h12v0s0b0T*$1*\017\c"
exit 0

Hope that helps!

Regards
Günther
Reply With Quote