DOCUMENT ID: 1051-02 SYNOPSIS: Installing parallel printer interface OS RELEASE: PRODUCT: Solaris x86 KEYWORDS: install parallel printer interface print postscript DESCRIPTION: The documentation for setting up printers in SunOS 5.x Setting up User Accounts, Printers and Mail does not include information about parallel- interface PostScript printers, which are supported in the current Solaris for x86 release. This section provides an example of how to set up a parallel interface printer. SOLUTION: The procedure for setting up a parallel-interface PostScript printer is similar to the example for setting up a serial PostScript printer in the SunOS 5.x manual, with the following exceptions: 1. The printer device name /dev/term/x (where x is determined by the port to which a serial printer is connected) is replaced by /dev/lp. 2. The printer type is called PPS instead of PS. 3. The name of the filter to pass to lpfilter is called ppostio instead of postio. A general overview of setting up a parallel-interface PostScript Printer follows: 1. Check the scheduler. lptstat -r 2. Change the owner and the mode of the lp device. chown lp /dev/lp chmod 600 /dev/lp 3. Give the printer a name unique to your network and associate that name with the port. The printer is registered with the LP print service. lpadmin -p "printer-name" -v /dev/lp 4. The printer type is used to extract information from the terminfo database. lpadmin -p "printer-name" -T PPS 5. The file content type is specified. lpadmin -p "printer-name" -I PS 6. Initialize the system's print filters. You only need to set up the print filters once. Print filters are used to convert the content type of a file to a content type acceptable to printer. cd /etc/lp/fd For each printer filter, type: lpfilter -f "filter-name" -F "filter-name.fd" 7. The printer is now ready to begin accepting print requests. accept "printer-name" 8. The printer is now ready to process print requests in the print queue. enable "printer-name" 9. The printer you specify can be established as the default printer for the system. This is an optional step. lpadmin -d "printer-name" 10. Check the messages displayed to verify that the printer is accepted and enabled. lpstat -t 11. Try to send something to the printer. lp /etc/passwd DATE APPROVED: 09/15/95