Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
To obtain information about a printer when using IPP, you would type:
# lpset -a printer-uri-supported=ipp://server/printers/server queue |
To see the return output for the printer, you would type:
# lpstat -p test -l |
# lpset -a printer-uri-supported=ipp://server/printers/test test # lpstat -p test -l printer test disabled since Fri Nov 03 11:48:53 2006. available. new printer Form mounted: Content types: application/postscript Description: Connection: Interface: /usr/lib/lp/model/uri PPD: /usr/lib/lp/model/ppd/system/foomatic \ /HP/HP-Color_LaserJet_4600-Postscript.ppd.gz On fault: write root After fault: continue Users allowed: (all) Forms allowed: (none) Media supported: Letter A4 11x17 A3 A5 B5 Env10 EnvC5 EnvDL EnvISOB5 EnvMonarch Executive Legal Banner required Character sets: (none) Default pitch: Default page size: Default port setting: Options: |