Subject:Printer Hex code help Author:dave livingston Date:12 Feb 2007 08:47 PM
XML & XSLT works so well to format a text document to send to a printer, especially in the Linux world. Then we run into the problem of being able to do a simple thing such as output an escape character to be able to configure the printer. Such a simple thing that we have been doing for years...long before all of this XML hoopla.
All I want to do is put a x1b but there sure does not seem to be any easy way to day that. I've tried all kinds of  which sure seems like it should work. since it is an output for goodness sakes..but no dice...not a "legal" XML character. Sure seems like someone missed the boat on this....
Subject:Printer Hex code help Author:Tony Lavinio Date:12 Feb 2007 08:53 PM
If your parser supports XML 1.1, you can use 
Otherwise, a common method is to define some other
character and put a filter on it. Suppose you decide
to use  - you could do something like this: