Dan Bar wrote:

Hello,


The setup is:

- 1 HP LJ printer with JetDirect
- 2 lprng queues both printing to port 9100 of JD

My question is: does lprng SW some kind of destination device locking? (so sending job to both queues at the *same* moment will not result at two lpd daemons to try to send job to a port 9100 at once?

|----------|      |----------|
| Queue 1  |      | Queue 2  |
|----------|      |----------|
      |_________________|
               |
              \|/
|----------------------------|
| HP printer on JD port 9100 |
|----------------------------|


Thanks for any answer,


Dan

Thanks for answers,


haven't chance to test it yet. I'll try "ss/sv way" and "lpd_bounce +
lp:[EMAIL PROTECTED]" as well.

Dan

-----------------------------------

This is text I found in "The Printing cookbook"


Chapter 8. Wildcards, Bounce Queues, and Forwarding


One of the things you might want to do is have a set of queues that massage the various jobs and then send them to a destination printer.

Figure 8-1. Evil (BAD) Way

    landscape:force_localhost
      :ifhp=model=xx
      :filter=/.../convert_to_landscape | /.../ifhp
      :lp=10.0.0.14%9100

    portrait:force_localhost
      :ifhp=model=xx
      :filter=/.../convert_to_landscape | /.../ifhp
      :lp=10.0.0.14%9100

    lp:tc=.common
      :ifhp=model=xx
      :filter=/.../ifhp
      :lp=10.0.0.14%9100

Each queue will now fight for a connection to the destination printer.


8.1. Bounce Queues


Figure 8-2. Not So Evil Way

    landscape:tc=.common
      :filter=/.../convert_to_landscape
      :[EMAIL PROTECTED]

    portrait:tc=.common
      :filter=/.../convert_to_landscape
      :[EMAIL PROTECTED]

    lp:tc=.common
      :ifhp=model=xx
      :filter=/.../ifhp
      :lp=10.0.0.14%9100

You have various filters set up so that each queue does a conversion and then forwards it to the real printer for output. No fighting. This method is called bounce queues as the job bounces through the queues, getting modified at each stage.







-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------

Reply via email to