The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 and shell scripting languages 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 Red Hat 4 03-16-2007 08:09 AM
How to print a specific page randomcz UNIX for Dummies Questions & Answers 3 01-31-2007 03:03 PM
map Page Down and Page up to ] and [ buddy_amazing AIX 0 03-01-2005 02:34 PM
PHP:page.php?id= ???? perleo Shell Programming and Scripting 1 10-01-2003 09:29 AM
How to print multi page to one for pdf in unix?? sunartio UNIX for Dummies Questions & Answers 2 09-13-2001 08:43 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-12-2007
naamas03 naamas03 is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 91
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 ?
  #2 (permalink)  
Old 11-12-2007
veer veer is offline
Registered User
  
 

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

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

Join Date: Sep 2005
Posts: 91
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
  #5 (permalink)  
Old 12-26-2007
naamas03 naamas03 is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 91
any ideas why the command does not work?
i looked at the manual and the syntax is o.k !
please please help
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:50 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0