Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
SuSE Linux: Versions since 5.0
You want to print on a network printer that has its own network connection
via lpr/lpd
. Optionally you want to pass the printjobs through
apsfilter before.
Starting with S.u.S.E. Linux 5.1, the following description can also be found
in the handbook. Further 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 distant host with own printer queues (names : see
printer manual; often LPT1 etc.). As such it can easily be accessed via
a distant printer queue, e.g. with the name remote
from the
local machine.
However if you need to filter the print job, the procedure gets more complicated
since the printer daemon lpd
doesn't preprocess print jobs
for distant printer queues. Also the specification of filters in the
/etc/printcap
will be ignored in that case. Therefore jobs for this
printer queue remote
must already contain data specific to the printer.
The solution is to configure a second queue with the appropriate filter, that
doesn't send its output directly to a printer but as a new job into the queue
remote
. This possibility is available in the apsfilter version
delivered with S.u.S.E. Linux . Here are the necessary steps :
apsfilter
-SETUP
. This queue must have the name
remote
! If it is the first distant queue in your system, SETUP
will do this by itself. Otherwise you might have to rename the distant queues in
your /etc/printcap
.
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=true
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
Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch