10-31-2003
Hi, oombera,
Thanks for the information.
Actually I use ORACLE SQLPLUS to generate
a text file with form feeds before each page
(including the 1st page).
So I want to get rid of the FIRST formfeed so as
not to waste a piece of paper.
I try to use sed with a command
1s/\f//
but does not work.
Regards,
Johnny
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Please someone I need information on how to change a Unix form/document into a microsoft word document in order to be emailed to another company. Please help ASAP. Thankyou :confused: (8 Replies)
Discussion started by: Cheraunm
8 Replies
2. UNIX for Dummies Questions & Answers
I connected a serial printer to my scoOpenServer which works great. I was able to disable the banner in the interface of the printer. However i am unable to find the command in the interface to disable the formfeed . Below is a copy of the interface file. Please can anyone instruct me on how to... (0 Replies)
Discussion started by: scoman2
0 Replies
3. UNIX for Dummies Questions & Answers
Hi, does anyone knows how to give the page feed command to Printer in troff.
Actually I want to implement the functionality where I'll print say 10 pages and I want user to stop printer at 5th page to do manual feed by user .... (2 Replies)
Discussion started by: dpmore
2 Replies
4. Shell Programming and Scripting
Hi
I have a file with lots of line feeds and form feeds (page break). Need to replace last occurrence of form feed (created by - echo "\f" ) in the file with line feed.
Please advise how can i achieve this.
TIA
Prvn (5 Replies)
Discussion started by: prvnrk
5 Replies
5. AIX
Hi,
I am new to printing with Unix (AIX on HP).
I am printing from a COBOL program.
On our test system the page prints and does a Form Feed to the next page. This is good.
When I release the program to our customer it prints the page but waits 5 or more seconds before doing a page... (11 Replies)
Discussion started by: habler
11 Replies
6. Shell Programming and Scripting
HI Guys,
I have data in File A.txt
RL03 RL03_A_1 RL03_B_1 RL03_C_1
RL03 -119.8 -119.5 -119.5
RL07 RL07_A_1 RL07_B_1 RL07_C_1
RL07 -119.3 -119.5 -119.5
RL15 RL15_A_1 RL15_C_1
RL15 -120.5 -119.4
RL16... (2 Replies)
Discussion started by: asavaliya
2 Replies
7. Shell Programming and Scripting
How to remove x lines form top and y lines form bottom.
This works, but like awk only cat file | head -n-y | awk 'NR>(x-1)'
so remove last 3 lines and 5 firstcat file | head -n-3 | awk 'NR>4' (5 Replies)
Discussion started by: Jotne
5 Replies
8. Shell Programming and Scripting
Hello.
First happy new year to everybody.
I have a script that generate a text file ( /tmp/part_list.txt for example ).
This file can be edited using a kde graphical text editor like kate or kwrite
The file can be printed out from command line or within the text editor using the print... (5 Replies)
Discussion started by: jcdole
5 Replies
NUP(1) General Commands Manual NUP(1)
NAME
nup - multiple pages per sheet with dvi2ps
SYNOPSIS
nup [ [ -p paper ] [ -2 ] [ -4 ] [ -8 ] [ -l ] [ -n ] ]
DESCRIPTION
This manual page documents briefly the nup command. This manual page was written for the Debian GNU/Linux distribution because the origi-
nal command hadn't manual page.
Nup puts multiple logical pages onto each physical sheet of paper with dvi2ps. The input PostScript file should be of dvi2ps
The -p paper option is to set the paper size which is available with dvi2ps.
The -2 option is to put 2 logical pages on each sheet of paper.
The -4 option is to put 4 logical pages on each sheet of paper.
The -8 option is to put 8 logical pages on each sheet of paper.
The -l option is to surround a page with frame.
The -n option in not to shrink each logical pages.
EXAMPLES
to print 2 pages in a sheet:
dvi2ps foo.dvi | nup -2 | lpr
to print 8 pages in a B4 paper:
dvi2ps foo.dvi | nup -8 -p b4 | lpr
to print 4 pages in a letter size paper with frame:
dvi2ps foo.dvi | nup -4 -p letter -l | lpr
to print 2 B5 size pages in a B4 paper:
dvi2ps -o b5 foo.dvi | nup -2 -n -p b4 | lpr
SEE ALSO
dvi2ps(1)
AUTHOR
This manual page was written by Atsuhito Kohda <kohda@debian.org>, for the Debian GNU/Linux system (but may be used by others).
NUP(1)