* appending a FF without getting the trailing /n?
@ 2000-12-01 19:49 George Gallen
0 siblings, 0 replies; only message in thread
From: George Gallen @ 2000-12-01 19:49 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_01C05BCF.C596ADC0", Size: 3164 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_01C05BCF.C596ADC0
Content-Type: text/plain;
charset="iso-8859-1"
I'm trying to append a FF to end of print job prior to the lp command
I'm using:
(cat - | /usr/mbin/lf2crlf ; echo "^L") | lp -d PR32
This does append a FF, but it also ads a /n after the FF, which
causes the paper to jump one line after a FF, throwing off alignment
Other than prepending a '\n' to make the first page look like the rest
(also stops you from being able to print on the first line).
Thanks
George
I'm on a AS2100 3.2c DU
George Gallen
Senior Programmer/Analyst
Accounting/Data Division
ggallen@slackinc.com
ph:856.848.1000 Ext 220
SLACK Incorporated - An innovative information, education and management
company
http://www.slackinc.com
------_=_NextPart_001_01C05BCF.C596ADC0
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.2650.12">
<TITLE>appending a FF without getting the trailing /n?</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2 FACE=3D"Arial">I'm trying to append a FF to end of =
print job prior to the lp command</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">I'm using:</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">(cat - | /usr/mbin/lf2crlf ; echo =
"^L") | lp -d PR32</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">This does append a FF, but it also ads =
a /n after the FF, which</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">causes the paper to jump one line =
after a FF, throwing off alignment</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Other than prepending a '\n' to make =
the first page look like the rest</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">(also stops you from being able to =
print on the first line).</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">George</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">I'm on a AS2100 3.2c DU</FONT>
</P>
<P><B><FONT COLOR=3D"#800000" SIZE=3D2 FACE=3D"Times New Roman">George =
Gallen</FONT></B>
<BR><FONT COLOR=3D"#800000" SIZE=3D2 FACE=3D"Times New Roman">Senior =
Programmer/Analyst</FONT>
<BR><FONT COLOR=3D"#800000" SIZE=3D2 FACE=3D"Times New =
Roman">Accounting/Data Division</FONT>
<BR><FONT COLOR=3D"#800000" SIZE=3D2 FACE=3D"Times New =
Roman">ggallen@slackinc.com</FONT>
<BR><FONT COLOR=3D"#800000" SIZE=3D2 FACE=3D"Times New =
Roman">ph:856.848.1000 Ext 220</FONT>
</P>
<P><B><FONT COLOR=3D"#800000" SIZE=3D2 FACE=3D"Times New Roman">SLACK =
Incorporated</FONT></B><FONT COLOR=3D"#800000" SIZE=3D2 FACE=3D"Times =
New Roman"> -<I> An innovative information, education and management =
company</I></FONT>
<BR><U><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Times New Roman"><A =
HREF=3D"http://www.slackinc.com" =
TARGET=3D"_blank">http://www.slackinc.com</A></FONT></U>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C05BCF.C596ADC0--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-12-01 19:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-01 19:49 appending a FF without getting the trailing /n? George Gallen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox