This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE:
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] RE:
- From: "Patrick, Curtis W" <curtis dot patrick at eds dot com>
- Date: Fri, 9 Mar 2001 09:13:57 -0600
- Reply-To: xsl-list at lists dot mulberrytech dot com
James,
When you send an escape code to a printer or ANSI driver, you must prefix
the code with the [ESC] ascii code. The ascii code of [ESC] is 27 decimal,
or 1B hex.
To send the [esc]M command from XML, you'll need
M
or just
M
Check out the Epson site. They have all of their programming documentation
available online. The manual I looked at had a full ASCII chart in the back.
I hope this helps.
Curtis
-----Original Message-----
From: James Gouldsbury [mailto:jgouldsbury@vision.com]
Sent: Friday, March 09, 2001 4:01 AM
To: 'XSL-List@lists.mulberrytech.com'
Subject:
I'm trying to insert a string into xsl which includes a printer escape code
e.g.
<input type="text" name="field1" id="field1"><xsl:attribute
name="value"><xsl:value-of
select="./PremisesOfLoading"/>M</xsl:attribute></input><br></br>
where M is the hex code for 'Select 12cpi' for my Epson printer.
The code appends this escape code to the text retreived from the
"./PremisesOfLoading" branch in the xml but when I process this I'm still
seeing M appended to the value in the "./PremisesOfLoading" branch(ESC M is
M in Hex) Can someone please tell me how to do this i.e. do I need to
surround M with some additional tags. I've already tried
<xsl:text disable-output-escaping="yes"> to no avail
thanks.
J
****************************************************************************
*****
Privileged/Confidential Information may be contained in this message. If
you are not the recipient
addressee indicated in this message you may not copy or deliver this message
to anyone. In such
case, you should destroy this message and notify us immediately. If you or
your employer do not
consent to internet email messages of this kind, please advise us
immediately. Opinions, conclusions
and other information expressed in this message are not given or endorsed by
VISION Consulting
unless otherwise indicated by a sanctioned representative independent of
this message.
****************************************************************************
*****
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list