Caterpillar
Posts: 34 from 2020/11/10
From: Germany
Hello all,
![;-)](https://morph.zone/images/smilies/wink_2.gif)
I do have two questions :
1. Does anyone know how to use printer handler from shell especially if it comes to
use arguments (CUPS compatible option set) ?
This is how it is shown in the library :
copy FROM RAM:example.ps TO "PRINTER:profile='HP Color 6' ARGS=' ' COPIES=1 FORMAT=PS"
To explain further : When Iam sending a ps file with this command to my printer it does print it fine. However, when I want to use arguments in the ARGS=' ... ' part e.g. to enable duplex or declaring a range etc. I dont know the exact method, because its not explained in library detailed. I tried several lp arguments from CUPS but it doesnt work.
Is there a guide for this (CUPS compatible option set) anywhere or some good examples ?
2. The COPIES=n part seems not to work too. The ps file is always printed only 1 time regardless
of the number I enter there. How can that be ?
Thanks to you all for helping ...