Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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