1837213 Members
2065 Online
110115 Solutions
New Discussion

Re: Printing filters

 
Nabil_11
Frequent Advisor

Printing filters

Hi All,

Any body know how can I print doc. with specific pages range from: to:

Regards

Nabil
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor

Re: Printing filters

Hi Nabil:

Have a look at 'pr'. See the manpages for more information:

http://www.docs.hp.com/en/B2355-60127/pr.1.html

Regards!

...JRF...
Bill Hassell
Honored Contributor

Re: Printing filters

Unless this is a plain ASCII file, no page breaks, no special codes for fonts, graphics or positioning text on the page, there is no possible way to set a page range. Pages are defined by printer settings and unlike Windows where all documents go through a metadata encoding followed by a printer-specific driver, HP-UX does no print job processing. Instead, (for HP printers only) a printer script can preset certain features such as landscape or portrait and font settings (which apply for the entire document).

Your application program would have to have a setting to page ranges for printing.


Bill Hassell, sysadmin