linux reverse page order+duplex is not working


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users linux reverse page order+duplex is not working
# 1  
Old 06-02-2008
linux reverse page order+duplex is not working

hi all,

i have a postscript file with duplex print commands. When i print it with
lpr command it prints in duplex.

lpr -pprintername filename.ps

but when i try to print the pages in reverse order with -outputorder=reverse
it is not printing in reverse order (but pages are prited in duplex since PS file has duplex commands)

lpr -pprintername -o outputorder=reverse filename.ps

again i tried to print a postscript file without duplex commands and with outputorder=reverse option. Now pages are printed in reverse order.

So the problem is whenever the PS file has duplex commands outputorder=reverse option doesnt work for me.

Kindly suggest me a solution .....


Thanks and Regards,
uttam hoode
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Issues with sorting in reverse order

I have a unix script that outputs a summary file to the mac desktop. The file is called summary.txt I am trying to configure such so that the summary.txt file lists the content contained within such in reverse sort order. I have used sort -r but it does not seem to work. I would be... (8 Replies)
Discussion started by: Braveheart
8 Replies

2. Shell Programming and Scripting

Delete records in reverse order

Hi all, i have dynamic file 'xyz.txt', records always look likes below format ... 0000021 RET 31-MAR-1984 FAP 0000021 DTA 14-JAN-2003 CNV 0000021 DTA 25-MAR-2012 DTA 0000021 DTA 26-MAR-2012 DTA ################################################# 0000021 DTA ... (4 Replies)
Discussion started by: krupasindhu18
4 Replies

3. Web Development

CGI not working with httpd server on busybox 1.15.0 on ltib Linux 2.6.34 (404 page not found)

I have some industrial ARM linux board with 2.6.34 Linux on it with Busybox v1.15.0. The https.conf is located in /etc/ and contains: H:/root/web In the www directory I also have 'cgi-bin' folder with chmod 777 and in that folder a file called 'testcgi'. Now I start the server with... (1 Reply)
Discussion started by: Roboserg
1 Replies

4. Shell Programming and Scripting

print in reverse order

Hi, I want to print the item in reverse order such that the output would look like 00 50 50 23 40 22 02 96 Below is the input: 00 05 05 32 04 22 20 69 Video tutorial on how to use code tags in The UNIX and Linux Forums. (5 Replies)
Discussion started by: reignangel2003
5 Replies

5. UNIX for Dummies Questions & Answers

printing fields in reverse order

command/script(apart from awk) to print the fields in reverse order that is last field has to come first and so on and first field has to go last Input store-id date sale ............. ............. ... (3 Replies)
Discussion started by: tsurendra
3 Replies

6. Shell Programming and Scripting

How to get fields in reverse order?

i am having lines like below seperated by "|" (pipe) abc|xyz 123|567 i have to get the above in reverse order xyz|abc 567|123 Pls help (5 Replies)
Discussion started by: suryanarayana
5 Replies

7. Shell Programming and Scripting

cut a field, but with reverse order

Hi Everyone, I have one a.txt: a b 001 c b b 002 c c c, not 002 c The output should be 001 002 002 If i use cut -f 3 -d' ', this does not work on the 3rd line, so i thought is any way to cut the field counting from the end? or any perl thing can do this?:confused: ... (3 Replies)
Discussion started by: jimmy_y
3 Replies

8. UNIX for Dummies Questions & Answers

sort -reverse order

I need to sort the particular column only in reverse order how i can give it.. if i give the -r option the whole file is getting sorted in reverse order. 1st 2nd col 3rd C col 4th col 5th col ------------------------------------------- C... (7 Replies)
Discussion started by: sivakumar.rj
7 Replies

9. UNIX for Dummies Questions & Answers

using sed and regex to reverse order???

so i have been trying to learn how to manipulate text on my own and have gotten stumped... let's say i have a text file that says (highly simplified): people ordinary How would swap the order of the words.. I know i need to use sed and some kind of back reference but cannot make it... (2 Replies)
Discussion started by: urtherhoda
2 Replies
Login or Register to Ask a Question
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)