03-13-2012
If you split on your required page length, then you can concatanate them back together with a <CNTL>L character. That usually causes a page throw.
Robin
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to attach a company logo to the top of a laser report can anyone tell me how to attach a .jpg or .bmp file to a report?? (1 Reply)
Discussion started by: hughes0928
1 Replies
2. Shell Programming and Scripting
Hello All,
I am new to unix scripting, I have an urgent issue
Is it possible to do a group by on the last column and then a page break on the text file.
For example I have a text file, below is the example data
STRT 2154081~VA ~23606 ~TM14~8506~1485
STRT 2130893~VA ~23602 ~TM15~8602~1586... (4 Replies)
Discussion started by: udaybo
4 Replies
3. Shell Programming and Scripting
Hi,
i have a file say samp.s which has
123 a b c d
123 e f g h
123 i j k l
123 m n o p
234 a b c d
234 e f g h
234 i j k l
the first 3 characters in each line are considered the key values
i have one more file temp.txt which has
123
234
i want to have a page break in... (5 Replies)
Discussion started by: Sheema
5 Replies
4. Shell Programming and Scripting
I have a shell script that runs periodic upgrades on machines. I want to print certain echo commands from the shell script onto a webpage. What command in shell should I use for doing this. (1 Reply)
Discussion started by: lassimanji
1 Replies
5. Windows & DOS: Issues & Discussions
We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies
6. AIX
We have configured Network printers in AIX 6.1. We are facing a Weird problem in Printing. While printing the user is getting a blank page after 2 pages.
Please let us know the cause of this issue and ways to rectify it.
If this is problem with banner/feeds how to view the default banner... (1 Reply)
Discussion started by: sugan_p
1 Replies
7. Shell Programming and Scripting
Hi,
The shell script inserting the millions of rows into target flat file system and handling the line number for each line.
We need a page break line after every 10,000 lines.
is there any command to insert a page break line into target file. (3 Replies)
Discussion started by: koti_rama
3 Replies
8. UNIX for Dummies Questions & Answers
Hi:
I have 2 files: teststring.txt and a tempfile.txt
teststring file contains:
s/Primary Ins./\n1/g
I'm trying to search for "Primary Ins." string in tempfile. For every "Primary Ins." string that is found, a new line is inserted and put in number 1. Then, write out the newfile... (7 Replies)
Discussion started by: newbeee
7 Replies
9. How to Post in the The UNIX and Linux Forums
Hi,
I have set up an HP printer, Model P3005dn" on our server running HP-Ux 11.31.
The printing is fine but I'm also getting an extra page printed with an right arrow (-->) only. I suspect that this could be the "Tab Expansion" or a "CR/LF" character.
Can ayone please advise what could... (0 Replies)
Discussion started by: Koketso
0 Replies
10. 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
LEARN ABOUT DEBIAN
a5booklet
A5BOOKLET(1) General Commands Manual A5BOOKLET(1)
NAME
a5booklet - copy two A5 pages from a .dvi file to one A4 page in another.
SYNOPSIS
a5booklet file[.dvi]
DESCRIPTION
A5booklet is a little script that allows you to typeset two A5 pages next to eachother on a single A4 page (landscape), combining pages
from the original file in such a way that after double sided printing and some reshuffeling of the pages you get a nice a5 booklet that is
ready for a staple in the middle.
The script calls a very clever program dvidvi, written by Tomas Rokicki (the author of dvips), that does the real work.
The output is written to two files, file-1.dvi and file-2.dvi
dvips -ta4 -tlandscape file-1
then put the stack upside doen in the printer, and print the second file using
dvips -ta4 -tlandscape file-2
Make sure that the bottom of the A5-pages is on the correct side of the paper when you put the stack back for printing the back side.
After the two print jobs, you must re-shuffle the paper stack before you can staple it.
SEE ALSO
tex(1), dvips(1), dvidvi(1).
BUGS
The script has A4 papersize hardwired into it. Admittedly, a European-centered way of thinking.
Page number 1 is always the first page in the original .dvi file, not the page numbered 1 by TeX's numbering scheme.
AUTHOR
A5booklet is written by David A. van Leeuwen (david@ElseWare.cistron.nl), but is is not original in any way. The main two lines that do
the work are inspired from the man page of dvidvi. A5booklet is available under the conditions of the Gnu Public Licence.
OCTOBER 1997 A5BOOKLET(1)