Hello together, hello Patrick,
I have upgraded from lprng 3.6.12 to 3.6.23 and found that new option
"append_z" which is one of the things that should make life easier, but
now I am confused somehow...
Here are two printcaps, first for a client, second for the server:
----client----
hp3:client:lp=%P@coulomb:force_localhost@
hp2:client:lp=%P@coulomb:force_localhost@
hp1:client:lp=%P@coulomb:force_localhost@
---end of client---
---server---
hp3:tc=.hpx:append_z=tray3:cm=Schacht 3 - Altpapier
hp2:tc=.hpx:append_z=tray2:cm=Schacht 2
hp1:tc=.hpx:append_z=tray1:cm=seitlicher Einzug
hp:
:filter=/usr/libexec/filters/ifhp
:lpd_bounce
:tc=.common
:cm=HP Netzwerkdrucker (brahms)
:lp=130.83.237.53%9100
:ifhp=model=hp5simx
:if=/usr/local/libexec/filters/ifhp
.hpx:
:lp=hp@coulomb:force_localhost@
:sd=/var/spool/lpd/%P
.common:
:sh
:mx=0
:sd=/var/spool/lpd/%P
:
---end of server---
The intention was to choose the tray with name of the queue
and all works fine if we use "lpr -Php3 file" or "lpr -Php3@coulomb
file"
on the client and "lpr -Php3@coulomb file" on the server.
There will be an entry in the cf...-file: Z,tray3,tray3
I don't know why lprng append ",tray" two times, but that is not the
problem.
If I use "lpr -Php3 file" there is NO Z-entry at all!
It seems that lprng sends the file directly to "hp" without appending
anything and ignoring the hp3-queue-entries.
If I use force_localhost@ or lpd_bounce nothing changes...
lpq -a gives:
Printer: hp3 is hp@coulomb
Printer: hp@coulomb 'HP Netzwerkdrucker (brahms)' (printing disabled)
Queue: no printable jobs in queue
Status: job 'root@coulomb+560' removed at 21:38:43.183
Filter_status: done at 21:38:43.164
Printer: hp2 is hp@coulomb
Printer: hp1 is
hp@coulomb
Printer: hp3 is hp@coulomb
Any help requested...
Thomas
____________________________________________________________________
Dipl.-Ing. Thomas Emmel
TU Darmstadt: Inst. f. Mechanik (FB6) AG IV
Hochschulstr. 1, 64289 Darmstadt
Tel.: +49 (6151) 16 49 66, FAX: +49 (6151) 16 30 18
e-mail: [EMAIL PROTECTED]
www : http://coulomb.mechanik.tu-darmstadt.de/user/emmel
____________________________________________________________________
-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------