Volker Manns on Tue, 4 Sep 2001 15:12:58 +0200 (CEST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Printing to multiple, identical network printers


Hello all,

I've done a similar post in the chat, but it was probably lacking enough
detail to merit a response.

Here we go again:

System...: SuSe Linux 7.1 out-of-the-box
Apsfilter: Version SuSe 1.8
Printers.: 3 Brother HL1250 (accepts LaserJet 4 600 dpi emulation)
PServers.: 3 NetGear PS110 (two parallel ports)

Preface:
The 3 printer/printserver combos are hooked to the IP network and are named
s6_netgear, s7_netgear and s8_netgear respectively. Only port 1 is used,
queued to q6_port1, q7_port1 and q8_port1 respectively.
Using lprsetup I configured s7 (resulting in the "remote" entry), added
the filters - no problem. Printouts o.k.

I proceeded to add s6, and the resulting entry resulted in a
"s6_netgear-q6_port1" entry, aliased as lp5. So far, so good.

Problem:
I cannot add filtering to lp5, since the drivers are exact matches to lp1
("remote"). Trying to do so, results in the following message:
  Printer entry:
  /var/lib/apsfilter/apsfilter.setup:
  Entry ### ljet4 a4 mono 600 ### exists

How can I reference three identical printer / printserver combos? If the
"automatic" setup does not support this scenario, is there a manual 
workaround?

I've tried editing the apsfilter script, copying it to apsfilter2, adjusting links, creating manual spool dirs, etc. - all to no avail.

Here's my /etc/printcap:

#
remote|lp1|s7_netgear-q7_port1|s7_netgear q7_port1:\
	:lp=:\
	:rm=s7_netgear:\
	:rp=q7_port1:\
	:sd=/var/spool/lpd/s7_netgear-q7_port1:\
	:lf=/var/spool/lpd/s7_netgear-q7_port1/log:\
	:af=/var/spool/lpd/s7_netgear-q7_port1/acct:\
	:ar:bk:mx#0:\
	:tr=:cl:sh:
#
### END   apsfilter: ### remote s7_netgear q7_port1 ###
#
### BEGIN apsfilter: ### ljet4 a4 mono 600 ###
#   Warning: Configured for apsfilter, do not edit the labels!
#            apsfilter setup Mon Sep  3 18:27:11 CEST 2001
#
ascii|lp2|ljet4-a4-ascii-mono-600|ljet4 a4 ascii mono 600:\
	:lp=/dev/null:\
	:sd=/var/spool/lpd/ljet4-a4-ascii-mono-600:\
	:lf=/var/spool/lpd/ljet4-a4-ascii-mono-600/log:\
	:af=/var/spool/lpd/ljet4-a4-ascii-mono-600/acct:\
	:if=/var/lib/apsfilter/bin/ljet4-a4-ascii-mono-600:\
	:la@:mx#0:\
	:tr=:cl:sh:
#
lp|lp3|ljet4-a4-auto-mono-600|ljet4 a4 auto mono 600:\
	:lp=/dev/null:\
	:sd=/var/spool/lpd/ljet4-a4-auto-mono-600:\
	:lf=/var/spool/lpd/ljet4-a4-auto-mono-600/log:\
	:af=/var/spool/lpd/ljet4-a4-auto-mono-600/acct:\
	:if=/var/lib/apsfilter/bin/ljet4-a4-auto-mono-600:\
	:la@:mx#0:\
	:tr=:cl:sh:
#
raw|lp4|ljet4-a4-raw|ljet4 a4 raw:\
	:lp=/dev/null:\
	:sd=/var/spool/lpd/ljet4-a4-raw:\
	:lf=/var/spool/lpd/ljet4-a4-raw/log:\
	:af=/var/spool/lpd/ljet4-a4-raw/acct:\
	:if=/var/lib/apsfilter/bin/ljet4-a4-raw:\
	:la@:mx#0:\
	:tr=:cl:sh:
#
### END   apsfilter: ### ljet4 a4 mono 600 ###
### BEGIN apsfilter: ### remote s6_netgear q6_port1 ###
#   Warning: Configured for apsfilter, do not edit the labels!
#            apsfilter setup Tue Sep  4 14:44:22 CEST 2001
#
s6_netgear-q6_port1|lp5|s6_netgear-q6_port1|s6_netgear q6_port1:\
	:lp=:\
	:rm=s6_netgear:\
	:rp=q6_port1:\
	:sd=/var/spool/lpd/s6_netgear-q6_port1:\
	:lf=/var/spool/lpd/s6_netgear-q6_port1/log:\
	:af=/var/spool/lpd/s6_netgear-q6_port1/acct:\
	:ar:bk:mx#0:\
	:tr=:cl:sh:
#
### END   apsfilter: ### remote s6_netgear q6_port1 ###


Thanks in advance for all offered help!

Best regards,

Volker Manns


Contents may settle during shipping.
Batteries not included.
Your mileage may vary.
_______________________________________________________________________
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
IhrName@web.de, 8MB Speicher, Verschluesselung - http://freemail.web.de