The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
scp-1.2.27 man page Tornado Linux 4 03-16-2007 04:09 AM
How to print a specific page randomcz UNIX for Dummies Questions & Answers 3 01-31-2007 11:03 AM
map Page Down and Page up to ] and [ buddy_amazing AIX 0 03-01-2005 10:34 AM
PHP:page.php?id= ???? perleo Shell Programming and Scripting 1 10-01-2003 06:29 AM
How to print multi page to one for pdf in unix?? sunartio UNIX for Dummies Questions & Answers 2 09-13-2001 05:43 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-12-2007
Registered User
 

Join Date: Sep 2005
Posts: 78
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 ?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 11-12-2007
Registered User
 

Join Date: Nov 2007
Posts: 23
Oh OH was I correct
lp -d name_of_printer -P 1-3 file_1
Reply With Quote
  #3 (permalink)  
Old 11-12-2007
Registered User
 

Join Date: Sep 2005
Posts: 78
thanks for response
does not work . it prints all the file
more ideas?
Reply With Quote
  #4 (permalink)  
Old 11-13-2007
Registered User
 

Join Date: Sep 2005
Posts: 78
maybe the command should contain also how many rows there is in one page ?

can someone please help me?
according to what i saw the syntax is correct
Reply With Quote
  #5 (permalink)  
Old 12-26-2007
Registered User
 

Join Date: Sep 2005
Posts: 78
any ideas why the command does not work?
i looked at the manual and the syntax is o.k !
please please help
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:57 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0