Send ASCII Characters "higher" that 255 to printer
Posted on 2014-03-04
I have a customer for whom I am creating a prescription "report" to a thermal printer. The programming language is proprietary and not widely known. Most programmers in a certain version of this programming language have difficulty controlling PCL5 output from the application to the print manager. This manager is a "black hole" that listens on a particular port on the local machine or a remote machine and captures the output and handles communication with the Windows print spooler. There is no documentation nor information coming from the vendor except "not supported". Some of us have had limited success with putting the software in "passthru" mode and sending some PCL5 commands through the manager and have received expected results in the output.
The problem; there is a character in at least one font on the local windows machine called Lucinda Sans Unicode or something close to that where at decimal 8478 and I have also seen it referred to as (Hex?) 211E exists a symbol I would like to use. I can ask the language to "Decode" an ASCII value (1 to 255) and the resultant character will be sent. The character of interest is well above that value and the decode function does not appear to accepted values above 255 as in it seems to ignore them. Interestingly windows' chracter map application does not mention how to key this in via an ALT+nnnn code. So a PCL5 escape sequence might work but what? PCL5 seems to deal more with controlling the printer and it's features rather than dealing with the actually data sent to it. I would like to have a PCL5 escape sequence to send this character maybe manage its size and attributes such as bolding etc. but I am just not well versed in PCL5 commands and I have not idea how to send a character that does not exist on a keyboard (sort of as I mentioned I can go 1-255 which includes some "non printable" characters and others.)
Thanks for any assistance.