SCIENTIFIC-LINUX-USERS Archives

June 2015

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Devin A. Bougie" <[log in to unmask]>
Reply To:
Devin A. Bougie
Date:
Wed, 10 Jun 2015 20:07:51 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (30 lines)
Our SL7 clients are using cups-browsed to discover printers shared from our central SL7 cups server.  Most of our queues have underscores in their names, and for some reason cups-browsed is changing the underscores to dashes.  This breaks the queues for our SL7 clients.

When running cups-browsed --debug, for example, we see:
------
cups-browsed: browse packet received from x.x.x.x
cups-browsed: browsed queue name is w320_br_5470
cups-browsed: Found CUPS queue: w320-br-5470 on host x.x.x.x.
cups-browsed: Bonjour IDs: Service name: "Wilson 3rd Floor Black and White Duplex", Service type: "", Domain: ""
------

Which then gives:
------
lpstat -v w320-br-5470
device for w320-br-5470: ipp://x.x.x.x:631/printers/w320-br-5470
------

This doesn't work, as the queue on the server is actually w320_br_5470.

When looking at the cups-filters changelog, I see:

------
CHANGES IN V1.0.62
- cups-browsed: Allow underscore characters in print queue names.
Thanks to Tim Waugh from Red Hat for the bug report (Bug #1241).
------

Any suggestions for working with remote queues names that contain underscores in SL7 (cups-filters 1.0.35) would be greatly appreciated.

Thanks,
Devin

ATOM RSS1 RSS2