LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Help with lp syntax (https://www.linuxquestions.org/questions/programming-9/help-with-lp-syntax-285954/)

slick_willie 02-03-2005 06:15 PM

Help with lp syntax
 
I'm trying to print a specific page range in one of my scripts. I'm using the following syntax

lp -P1-4 filename

I get the following error:
lp: illegal option -- P
Xerox internal use only.

Is there a way to make this work, or another print command that will allow me to do this?

jtshaw 02-03-2005 06:20 PM

lp -P 1-4 filename

Quote:

-P page-list
Specifies which pages to print in the document. The list can con-
tain a list of numbers and ranges (#-#) separated by commas (e.g.
1,3-5,16).

slick_willie 02-03-2005 07:18 PM

Same errors


All times are GMT -5. The time now is 03:17 AM.