Impression - Solaris

De UnixManiax
Aller à : navigation, rechercher


EN COURS DE REDACTION.

Lister les imprimantes

lpstat -a
PXHLP13P accepting requests since Mon Oct 06 14:26:35 2014
PXHLP99P not accepting requests since Mon Oct 06 15:39:45 2014

Afficher des infos détaillées sur une imprimante

lpstat -p PXHLP13P -l
printer PXHLP13P is idle. enabled since Mon Oct 06 14:26:25 2014. available.
        Form mounted:
        Content types: application/postscript
        Description: Imprimante IT
        Printer types: PS
        Connection: direct
        Interface: /usr/lib/lp/model/netstandard
        On fault: write to root once
        After fault: continue
        Users allowed:
                (all)
        Forms allowed:
                (none)
        Media supported:
                (none)
        Banner page never printed
        Character sets:
                (none)
        Default pitch:
        Default page size:
        Default port setting:
        Options: dest=10.23.216.84:9100, protocol=tcp, timeout=5

Configurer une imprimante

lpadmin -p PXHLP99P -v /dev/null
lpadmin -p PXHLP99P -o PageSize=A4 -I postscript,simple -T PS
lpadmin -p PXHLP99P -I /usr/lib/lp/model/netstandard
lpadmin -p PXHLP99P -o dest=10.23.218.10:9100 -o protocol=tcp -o timeout=5

Puis, pour l'activer et l'autoriser à accepter les jobs :

/usr/bin/enable PXHLP99P
accept PXHLP99P