-----BEGIN PGP SIGNED MESSAGE-----
Am Montag, 29. Dezember 2003 15:56 schrieb Jeremy Baumgartner:
> I'm trying to use a router script to filter out bsize (ledger) print
> jobs and route them to a single printer instead of to the gang of
> printers.
>
>
> Here is my printcap:
> -- snip --
> .common
>
> :sd=/var/spool/lpd/%P
> :queue_lock_file=/var/spool/lpd/%P/%P.lock
> :full_time
> :safe_chars=\\#"?
> :ignore_requested_user_priority
> :break_classname_priority_link
>
> .router
>
> :lpd_bounce
> :lp=/dev/null
>
> cae-170-router
>
> :tc=.common
> :tc=.router
> :destinations=cae-170-gang,cae-3
> :router=/opt/printserver/CAE/router
>
> -- snip --
>
> The router is a simple shell script (very simplified for testing):
> -- snip --
> #!/bin/sh
> cat <<EOF
> dest cae-170-gang
> end
> EOF
> -- snip --
>
>
Hi,
I have a similar configuration and it works this way (for me):
- - I do NOT have the tag
:lpd_bounce
in my printcap-entry for the routing-queue. Don't know why, but
it works.
- - My script writes not only a "dest" -line but also lines
with "priority", "copies" and class.
regards
Herbert Engelmann
- --
H. Engelmann, 089-289-28836, [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3in
Charset: noconv
iQCVAwUBP/B1oahxGsmXUG+lAQElagQAm5nMRODFFNZIE+v/B1SLaDiB7bUZpSdI
u8P+Kxc3gxrDM8R94m6Ju7ckYtLWd9S565DwmwMVLLgzE3blFZnyZNt3AQzY/nm0
3TWaj/guswc2m0diBzzNIpWs1HoY3LqAgho/qnVI6lWNfC/nhKS8H9R9ehDbEoOG
2A04XHTCmUo=
=aaEh
-----END PGP SIGNATURE-----
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
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.
-----------------------------------------------------------------------------