Summary: appending a FF without getting the trailing /n?

From: George Gallen <ggallen_at_slackinc.com>
Date: Fri, 01 Dec 2000 15:05:21 -0500

I'm not sure why my email was converted from Plain Text to HTML....sorry.
 
Two suggestions were to use the -n switch on echo or use of printf.
 
I used the -n switch and worked fine.
 
Thanks for the replys.
 
I must of missed that switch on the man page...Oh well.
 
George

-----Original Message-----
From: George Gallen [mailto:ggallen_at_slackinc.com]
Sent: Friday, December 01, 2000 2:49 PM
To: 'tru64-unix-managers_at_ornl.gov'
Subject: appending a FF without getting the trailing /n?



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_at_slackinc.com
ph:856.848.1000 Ext 220

SLACK Incorporated - An innovative information, education and management
company
http://www.slackinc.com <http://www.slackinc.com>
Received on Fri Dec 01 2000 - 20:06:33 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT