Printers that are connected to a Trusted Extensions print server print labels on body pages, banner pages, and trailer pages. Such printers can print jobs within the label range of the print server. If the printer is shared, any Trusted Extensions host that can reach the print server can use the shared printer.
Before You Begin
You must be in the System Administrator role in the global zone on this print server.
# lpinfo -m | grep printer-manufacturer
For example, the following syntax finds all the Xerox printers:
# lpinfo -m | grep Xerox gutenprint.5.2://xerox-able_1406/expert Xerox Able 1406 - CUPS+Gutenprint v5.2.4 gutenprint.5.2://xerox-able_1406/simple Xerox Able 1406 - CUPS+Gutenprint v5.2.4 ... gutenprint.5.2://xerox-dc_400/expert Xerox Document Centre 400 - ... gutenprint.5.2://xerox-dc_400/simple Xerox Document Centre 400 - ... gutenprint.5.2://xerox-dp_4508/expert Xerox DocuPrint 4508 - ... gutenprint.5.2://xerox-dp_4508/simple Xerox DocuPrint 4508 - ... ...
# lpadmin -p printer-name -E -v socket://printer-IP-address -m printer-make-and-model -
The –E option allows the named printers to accept a queue of printing requests. It also activates or enables the printers.
# lpadmin -p printer-name -o printer-is-shared=true
To prevent the printer from being used by other systems, skip this step.
# lpoptions -p printer-name
For example, you could print double-sided and two-up.
# lpadmin -p printer-name -o job-sheets=labeled
If the default printer label range of ADMIN_LOW to ADMIN_HIGH is acceptable for every printer, then your label configuration is done.
Use the all-zones IP address for the global zone as the print server.
# zlogin -C labeled-zone
# lpadmin -p zone-printer-name -E \ -v ipp://global-zone-IP-address/printers/printer-name-in-global-zone
# lpadmin -d zone-printer-name
As root and as a regular user, perform the following steps:
# lp /etc/motd ~/PostScriptTest.ps % lp $HOME/file1.txt $HOME/PublicTest.ps
See Also
Prevent labeled output – Reducing Printing Restrictions in Trusted Extensions
Use this zone as a print server – How to Enable a Trusted Extensions Client to Access a Printer