Operating System - HP-UX
1752806 Members
6327 Online
108789 Solutions
New Discussion юеВ

Hex String to print a Bar Code on an HP LaserJet

 
James Haberer
Occasional Contributor

Hex String to print a Bar Code on an HP LaserJet

I am designing my own graphics form using PCL5 hex commands.

1. Where can I find information or documentation that will show me how to print a barcode within the document using hex strings.

2. I am trying to print a character in large print (36 point) using the hex string
esc ( s 3 6 V but I cannot get it to work.
Do you have to set other variables also like
spacing or pitch?
2 REPLIES 2
Jeff Schussele
Honored Contributor

Re: Hex String to print a Bar Code on an HP LaserJet

Hi James,

Well...it's been quite a while since I did purely HW support on printers, but I'm farly sure they are their own ASCII codeset or font.
Here's a few found googling bar code ascii...

http://www.32tech.com/code39/

http://www.idautomation.com/java/linearservlet.html

http://www.barcode-1.net/pub/russadam/fonts.html

So basically you have to obtain one of these then enable the system to use it.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Joel Girot
Trusted Contributor

Re: Hex String to print a Bar Code on an HP LaserJet

Hi James

hp laserjet need additional fonts for bar code. documentation is generaly supplied with it.
ie : hp ocr + barcode font base modul simm. With this product, for print a 2/5 interlevead cod bar you print :
esc(10Qesc(s1p36v0s0b13000T

esc(10Q : selection of the symbol set
esc(s1p14v0s0b13000T : selection of code 2/5 interlevead 36 point "36v"

This sequence is probably product dependent.

Joel