>> If you can get the jobs in Postscript format (should be pretty simple),
>> then you can use the psselect command to specify which pages to print.
>> You can grab the number of pages by looking for "%%Pages: " in the
>> Postscript file. Create a script does something like this:
>>
>> for ( $i=1; $i <= $numpages; $i+=4 ) {
>> startp = $i;
>> endp = $i + 3;
>> psselect -p$startp,$endp $postscript_filename $tempfile;
>> lpr $tempfile;
>> sleep 60;
>> }
>
> What happens when numpages=5, on the second pass (pages 5-8)? Is pselect
> smart enough to tolerate nonexistent pages?
>
> Don't forget to rm $postscript_filename $tempfile when you're done.
The script will no doubt need to be modified. Not sure if psselect can appect the
range or you may need to specify the individual pages (e.g., 9,10,11,12 instead of
9,12).
-- * The Digital Hermit http://www.digitalhermit.com * Unix and Linux Solutions kwan@digitalhermit.com ----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:11:27 EDT