Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
Espaņol
SuSE Linux: Versions since 6.0
You want to print on a network printer that has its own network connection
via lpr/lpd
. Optionally you want to pass the print jobs through
apsfilter before sending them to the print device.
Notes on this procedure have been included in the manual since the SuSE
Linux 5.1 release. Additional information can be found in the Printing-HOWTO
/usr/doc/howto/Printing-HOWTO.gz
.
A network printer which has its own TCP/IP network interface appears to the
BSD spooling system like a remote host with its own print queues (names: see
printer manual; often LPT1 etc.). As such, from a local machine one can easily
access a remote print queue, e.g. with the name remote
.
If you need to filter the print job, the procedure is complicated by the fact that
the printer daemon lpd
(from package "lprold"
)
does not preprocess print jobs for remote print queues.
In this case the filters specified in
/etc/printcap
will also be ignored. Therefore jobs being sent to this
print queue remote
must already contain data specific to the printer.
The solution is to configure a second queue with the appropriate filter, that
instead of sending its output directly to a printer, sends it to the queue
remote
. It is possible to configure the apsfilter
version
which comes with SuSE Linux to do this. Here are the necessary steps:
System administration -> Network configuration -> Administer remote printersIn the mask, you have to give the remote queue the name
"remote"
; the mask
could look like the following:
Name of printer :remote : Spool directory :/var/spool/lpd/remote : Server name :192.168.1.50 : Name of printer on server :lp :
apsfilter
-printer as usual. The settings
(paper, resolution, Ghostscript device, etc.) must be modeled according to the network
printer. You can specify /dev/null
for the printer device (which won't be used).
remote
can now be activated
by removing the comment sign in front of the line with the command REMOTE_PRINTER=remote
in the rc-file /etc/apsfilterrc.<gs-mode>
specific to your printer. Here
<gs-mode> represents the Ghostscript printer driver, e.g. ljet4
for the
HP Laserjet 4.
See also:
Keywords: PRINTER, PRINTING, APSFILTER, REMOTE, NETWORK
Categories:
Printer
, Configuration
Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
Espaņol