This example shows how to make a local PostScript printer available for printing on a print server. The commands in this example must be executed on the print server where the printer is connected. The following information is used as an example. The information you provide will vary:
luna
/dev/term/b
PS
postscript
The following commands will set up printing for a local printer:
# chown lp /dev/term/b # chmod 600 /dev/term/b 1 # lpadmin -p luna -v /dev/term/b 2 # lpadmin -p luna -T PS 3 # lpadmin -p luna -I postscript 4 # cd /etc/lp/fd # for filter in *.fd;do > name=basename $filter .fd > lpfilter -f $name -F $filter > done 5 # accept luna destination luna now accepting requests # enable luna 6 printer luna now enabled # lpadmin -p luna -D "Room 1954 ps" 7 # lpstat -p luna 8 printer luna is idle. enabled since Jul 12 11:17 1999. available.
These commands perform the following tasks:
This example shows how to make a remotePostScript printer available for printing on a print server. The commands in this example must be executed on the print server where the printer is used. The following information is used as an example. The information you provide will vary:
luna1
saturn
nimquat:9100
tcp
5
/usr/lib/lp/model/netstandard
PS
postscript
/dev/null
The following commands will set up printing for to a remote printer:
# lpadmin -p luna1 -v /dev/null 1 # lpadmin -p luna1 -m netstandard 2 # lpadmin -p luna1 -o dest=nimquat:9100 -o protocol=tcp -o timeout=5 3 # lpadmin -p luna1 -I postscript -T PS 4 # cd /etc/lp/fd # for filter in *.fd;do > name=basename $filter .fd > lpfilter -f $name -F $filter > done 5 # accept luna1 destination "luna1" now accepting requests # enable luna1 6 printer "luna1" now enabled # lpadmin -p luna1 -D "Room 1954 ps" 7 # lpstat -p luna1 8 printer luna1 is idle. enabled since Jul 12 11:17 1999. available.
These commands perform the following tasks:
Send comments and questions to
pollock@acm.org. |
![]() ![]() ![]() ![]() |