tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Printer escape commands in postscript
@ 2002-04-05 21:52 Myszkowski.Mark
  0 siblings, 0 replies; only message in thread
From: Myszkowski.Mark @ 2002-04-05 21:52 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01C1DCEC.389A8D90", Size: 3264 bytes --]

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1DCEC.389A8D90
Content-Type: text/plain;
	charset="iso-8859-1"

We would like to send commands like 

<ESC>&l2A      (for letter)
<ESC>&l1H      (for upper tray)
<ESC>&l4H      (for lower tray)

to a postscript printer queue like this:

lp536|pedc0961ps|pedc0961ps:\    
        :lf=/usr/adm/lp536err:\  
        :lp=:\                   
        :rm=pedc0961:\           
        :rp=hpstream:\           
        :sd=/usr/spool/lpd536:

Right now the command sequences are ignored but if I change the "rp" value
to "text" then they work fine.  We need this to be a postscript queue
however.  How can we control the tray if the queue is setup for postscript?

Thank you very much,

Mark Myszkowski
mark.myszkowski@wepco.com



------_=_NextPart_001_01C1DCEC.389A8D90
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>Printer escape commands in postscript</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">We would like to send commands like =
</FONT>
</P>

<P><FONT SIZE=3D2 =
FACE=3D"Arial">&lt;ESC&gt;&amp;l2A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (for =
letter)</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">&lt;ESC&gt;&amp;l1H&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (for =
upper tray)</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">&lt;ESC&gt;&amp;l4H&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (for =
lower tray)</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">to a postscript printer queue like =
this:</FONT>
</P>

<P><FONT SIZE=3D2 =
FACE=3D"Arial">lp536|pedc0961ps|pedc0961ps:\&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
:lf=3D/usr/adm/lp536err:\&nbsp; </FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
:lp=3D:\&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
:rm=3Dpedc0961:\&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp; </FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
:rp=3Dhpstream:\&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp; </FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
:sd=3D/usr/spool/lpd536:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Right now the command sequences are =
ignored but if I change the &quot;rp&quot; value to &quot;text&quot; =
then they work fine.&nbsp; We need this to be a postscript queue =
however.&nbsp; How can we control the tray if the queue is setup for =
postscript?</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thank you very much,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Mark Myszkowski</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">mark.myszkowski@wepco.com</FONT>
</P>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C1DCEC.389A8D90--

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-04-05 21:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-05 21:52 Printer escape commands in postscript Myszkowski.Mark

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox