Sponsored Content
Top Forums Shell Programming and Scripting lpr- how to print from page to page Post 302144971 by naamas03 on Monday 12th of November 2007 06:21:04 AM
Old 11-12-2007
lpr- how to print from page to page

hi all
i have file_1 which contains 66 pages and i want to print only page 1 to 3
i try to write like this
lp -d name_of_printer file_1 -P 1-7
this command does not work
any ideas ?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to print multi page to one for pdf in unix??

I need help on printing PS and PDF file. I find it will waste a lot of paper if I print every pages. So I want to print multipage into one. But I forgot how to do it in unix. Anyone help me!!! :D ;) :p (2 Replies)
Discussion started by: sunartio
2 Replies

2. UNIX for Dummies Questions & Answers

How to print a specific page

Hi there, Does anyone know how to print a specified page using command like lpr? Thanks, (3 Replies)
Discussion started by: randomcz
3 Replies

3. UNIX for Dummies Questions & Answers

print job seperator page

How do I get my linux login ID to print on seperator page on print jobs. Right now it prints " Remote User" thanks Jim (0 Replies)
Discussion started by: jdmowrer
0 Replies

4. Solaris

High Page In and Executable page In

Hi, Currently I'm experience very high page ins on my system running on solaris 10. From vmstat, the page ins figure is very high, further drill down shows the page ins are from file system and occassional spike in executable page ins. Details as follow: oracle@perch:/files>> vmstat 5... (9 Replies)
Discussion started by: srage
9 Replies

5. SCO

I need the print banner (extra page) disabled

I looked around the forum here and found some answers to getting the banner page disabled but when I print a test page they aren't working. The printer I'm printing to is a HPLaserJet 2300. I couldn't find no banner settings in it either. I'm using Sco OS 5.05. Please advise. Thanks (2 Replies)
Discussion started by: texastig
2 Replies

6. UNIX for Dummies Questions & Answers

display command output page per page

Good afternoon, I wonder how i could use unix commands to ease the reading of long command result output ? like the "php -i" or any other command that returns a long answer. I could not find the right terms to Google it or search the forum. Therefore I bother you with this question. ... (3 Replies)
Discussion started by: Mat_k
3 Replies

7. Slackware

Printer won't print but 1 page

OS: Slackwar 13.37 Printer: hpDeskjet 1000 j110 Printer Drivers/Software: HPLIP 3.11.3a (min was 3.10.9) and Cups The printer will print the first of n-pages but from page 2 on it prints the page (or part of it) backs up and starts again down about 0.8 lines and does this repeatedly till the... (2 Replies)
Discussion started by: slak0
2 Replies

8. Web Development

Page load time- local page

Hi Is there a way to calculate the page load time, I am trying to calculate the load time of a page locally. I found tools to do this over http or https but none that work locally. Any ideas? Thanks. (4 Replies)
Discussion started by: jamie_123
4 Replies

9. Shell Programming and Scripting

Print multiple copies page by page using lp command

Hi I have a pdf file that is being generated using the rwrun command in the shell script. I then have the lp command in the shell script to print the same pdf file. Suppose there are 4 pages in the pdf file , I need to print 2 copies of the first page, 2 copies of the second page , then 2... (7 Replies)
Discussion started by: megha2525
7 Replies

10. Shell Programming and Scripting

script for adding page number before page breaks

Hi, If there is an expert that can help: I have many txt files that are produced from pdftotext that include page breaks the page breaks seem to be unix style hex 0C. I want to add page numbers before each page break as in : Page XXXX Regards antman (9 Replies)
Discussion started by: antman
9 Replies
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)
All times are GMT -4. The time now is 09:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy