ON 20100403@10:30:08 AM at page: On a web page you were interested in at: http://techref.massmind.org/language/pcl/cmds-lj.htm#40270.669849537 James Newton[JMN-EFP-786] Published and replied to post 40270.669849537 by promanron2007 |Insert 'I would recommend selecting the font via the font selection string as listed on the PCL typeface list. That removes any issues with the source of the font and works reliably in my experience.' at: '' promanron2007@yahoo.com
Hi Lee,|Delete 'P-' before: '' but after: '
Your page contains the most info I have been able to find regarding secondary font commands, including HP sites, that I have purused. Thank you!
Even though, I am still searching for a method to fix a problem. Maybe you can help.
I have an erp system that print to pcl5e capable printers. We use only HP printers. Let me tell you what happens and how they do things...
Each printer has a "barcodes and more" dimm installed in it. To get barcodes to print from the erp system, we go into the printer configuration, and under pcl, select the dimm slot and the appropriate barcode font to print. (slot 4, id 16)
The erp system sends text as usual, up to the point it wants to print a barcode. Then it sends an escSO (chr(27)chr(14)), followed by the text to be barcoded, followed by an escSI (chr(27)chr(15)). The barcodes print as advertised. Apparently selecting the pcl font source and font id thru the front panel tells the printer that this font is the 'secondary' font. When the escSO command is sent, it shifts to this secondary font, prints the text using the secondary font, then shifts back to the primary. So far, so good.
Now we have a downloadable barcode font. We download the font to the printer, and give it a font ID of 18. It appears in the pcl font listing as a HP PCL5e Permanent Soft Font, Font # SOFT 4, Font ID 18. In testing we send the command esc)18X, which is supposed to tell the printer that font 18 is the secondary font. Then we send and escSO, followed by some text to print as a barcode, then an escSI to shift back to the primary font. What appears to happen is that the text prints using the 'internal' font 18, instead of the soft font 18.
I have tried using various combinations of esc)18X and esc)18@, but am getting nowhere. Maybe there is a command that tells the printer to use a "soft font" rather than an "Internal" font.
If you have a chance, and this is something you have knowledge about, please let me know what you know.
Thanx very much in advance.
ron