Xerox Z750/N Network Guide - Page 33

PhaserShare Networking Manual, TCP/IP Host Configuration UNIX, Sample printcap file, Example

Page 33 highlights

TCP/IP Host Configuration (UNIX) 5. Edit /etc/printcap and add an entry for your printer. Refer to the following example and the table Descriptions of printcap parameters on page 29 to create your entry. Sample printcap file # Printer: Tektronix Phaser850 # Print queue name: colorprinter # Remote machine name: Phaser850 # Remote printer queue name: PS # Spool directory: /usr/spool/lpd/colorprinter colorprinter:\ :lp=:\ :rm=Phaser850:\ :rp=PS:\ :mx#0:\ :lf=/usr/spool/lpd/ERRORLOG:\ :sd=/usr/spool/lpd/colorprinter: # 6. Set up spool directories. After you have edited the /etc/hosts and /etc/printcap files, create and set permissions for the spool directory you specified. Example cd /usr/spool/lpd mkdir colorprinter chown daemon colorprinter chgrp daemon colorprinter chmod 770 colorprinter Refer to your UNIX documentation for the correct command syntax for your workstation. 28 PhaserShare Networking Manual

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63

28
PhaserShare Networking Manual
TCP/IP Host Configuration (UNIX)
5.
Edit
/etc/printcap
and add an entry for your printer.
Refer to the following example and
the table
Descriptions of printcap parameters
on page 29 to create your entry.
6.
Set up spool directories.
After you have edited the
/etc/hosts
and
/etc/printcap
files, create
and set permissions for the spool directory you specified.
Sample printcap file
# Printer:
Tektronix Phaser850
# Print queue name: colorprinter
# Remote machine name:
Phaser850
# Remote printer queue name:
PS
# Spool directory:
/usr/spool/lpd/colorprinter
colorprinter:\
:lp=:\
:rm=Phaser850:\
:rp=PS:\
:mx#0:\
:lf=/usr/spool/lpd/ERRORLOG:\
:sd=/usr/spool/lpd/colorprinter:
#
Example
cd /usr/spool/lpd
mkdir colorprinter
chown daemon colorprinter
chgrp daemon colorprinter
chmod 770 colorprinter
Refer to your UNIX documentation for the correct command syntax for your
workstation.