Printer handler usage
  • Caterpillar
    Caterpillar
    Trekman
    Posts: 35 from 2020/11/10
    From: Germany
    Hello all, ;-)

    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 ... :-)
  • »03.06.24 - 16:33
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 807 from 2007/10/23
    From: Gelsenkirchen,...
    At least I will complete the wiki.
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »04.06.24 - 15:41
    Profile
  • Caterpillar
    Caterpillar
    Trekman
    Posts: 35 from 2020/11/10
    From: Germany
    Would be nice if it explains the copy command to printer: device completly ... ;-)
  • »08.06.24 - 22:44
    Profile Visit Website