IBM 4400-006 User Manual - Page 118
Change permissions and ownership on the spool directory
View all IBM 4400-006 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 118 highlights
Chapter 5 Unix Host Configuration :rp=d1prn:\ :lp=:\ :sd=/usr/spool/lpd/ 4400:\ :lf=/usr/spool/lpd/ 4400/log:\ :af=/usr/spool/lpd/ 4400/acct: 2. Create the spool directory specified by the sd= entry in the printcap entry for this printer. Example: touch /usr/spool/lpd/ 4400 3. Create the log and account files specified by the lf= and af= entries in the printcap entry for this printer. Example: touch /usr/spool/lpd/4400/log touch /usr/spool/lpd/4400/acct 4. Change permissions and ownership on the spool directory and everything within it. Example: chmod -R g+rwX,o+rX /usr/spool/lpd/ 4400 chmod -R daemon.daemon /usr/spool/lpd/ 4400 5. Start the printer daemon for this new printer. Example: lpc start 4400 You now have a new printer which relies on LPR/LPD to print to a Ethernet Interface printer. Use the following command to test printing: Syntax: lpr -P printername filename Example: lpr -P 4400 /etc/hosts 118