I would look up a list of symbol sets. Most (that have
a-z,A-Z,0-9 to distinguish from linedraw and dingbat symbol sets for example) will have different symbols for characters
other than the standard letters,numbers, and punctuation characters.
I luckily have an old tech reference manual from a Toshiba
PageLaser that is excellent. I'm not even sure Toshiba still makes laser printers. Whether you can get this info from HP, I don't know. Most of the ISO symbol sets have the
pound symbol (Brittish currency) symbol as chr$(23H) instead of chr$(24H) for the dollar symbol. Whether that's available on your printer is ???
If you are using a laser printer, you could develop the
symbol using raster graphics. The reason I excluded inkjets is that it's been my experience that the inkjets will print
one raster graphic (preferably the last thing to be printed)
and ignore the rest. Of course, that just might be that I am
handling it incorrectly (that it only prints one).
I didnt mention the code for the ISO symbol sets:
CHR$(27);"(1E" 'ISO United Kingdom
CHR$(27);"(1F" 'ISO French
also
CHR$(27);"(0G" 'HP German
are a few that should have the pound symbol as CHR$(35)
You must first select a symbol set that has the symbol you want. According to HP's PCL5 Comparison Guide, symbol set 13J (Venture Internatiional) has the British pound as 18710, BBhex and the Japanese yen as 18810, BChex. My copy precedes the adoption of the Euro symbol, so I don't have any referance to that. As per Buff1, the symbol set is accessed by the escape sequence esc(s, where s is the symbol set, in this case 13J.
afternoon all,
i decided to test this before doing it programatically.
i set the printers symbol set manually to one that should contain a euro symbol (windows cp1252 latin 1) which is listed in the pcl menu as an available symbol set.
i then created a file with a couple of spaces the word test and the euro symbol - chr(128).
when i alter the file to the printer i get the spaces and the word test but no euro symbol. if i bring the file over to windows i can see the euro symbol in it.
could the issue be that this is being printed off of an hpux box?
any suggestions?
regards,
longhair
webrabbit,
by setting manually i mean - i went to the printer a 5Si in this case and used the menus button to select the pcl menu. i then selected the sym set (symbology set) and changed it from pc-8 to win l-5 (i also tried many other sets that are native to the printer).
as far as alter the file to the printer - sorry unix terminology. i'm coding the program and printing from a hpux system.
could the issue be the driver that the printer is set to use on the unix system?
if i ftp the file over to windows i can see the symbols fine and they print fine, but then we loose the ability to call the form (via pcl) that is stored on the printer and has to be used for this print job.
regards,
longhair.
jlasman,
thanks for the suggestion.
the net_lj5x driver does have the option, however it did not produce the correct symbol.
what i have found is that if i choose a symbol set that does not include the chr$ then all data after it is moved 1 space to the left. if i choose a symbol set that does include the chr$ then then data is spaced properly. i take this to mean that the data is getting to the printer it's just not being properly interpreted.
regards,
longhair
jlasman,
unix - lp -d<device name> -onb -o raw <file name>
what would the sytax be of the cat command? something like - cat <file name> | lp -d<device name>...
regards,
longhair
I suspect that your driver is sending a PCL symbol set command, which would override the front panel selection. If the test data are small enough, perhaps you can put the printer into "hex dump" mode and see what is actually being received.
webrabbit,
thanks for the idea but i don't think that's it.
if i choose a chr$ that is one character in pc-8 and a different one in lets say iso l5 i get the character printed out when the control panel is set to pc-8. i set the control panel to iso l5 and i get a blank space.
regards,
longhair
jlasman,
get a square black block, exactly like the symbol on the page marked 'Internal Symbol Set Charts B-3' of the HP PCL/PLJ Reference PCL 5 Companion Guide.
regards,
longhair
jlasman,
printer is an hp laserjet 5si.
the idea that it might prdate the euro recently came to mind. i've been trying to find a site that either lists printers that can print the euro or lists the ones that you would need a dimm or flash card for.
haven't tried to print from dos, just unix and windows.
since it's a network printer and not set up on lpt1 i'll have to find the commands to send the print job to it.
regards,
longhair
Looking on HP's website, I can find NO evidence that the euro symbol is contained in any builtin font on any HP printer. Apparently the euro was placed at chr(128) on ALL the windows soft TTF fonts that correlate to the internal printer fonts.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.