! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfprint should handle printcap aliases
Status:
CLOSED: FIXED
Product:
Xfprint4
Component:
General

Comments

Description Jason Keltz 2005-03-01 17:05:59 CET
If a printcap entry contains aliases, xfprint ignores the aliases.  If a user
has one of those aliases defined in their PRINTER environment variable, and
assumes that dragging a file to the xfprint icon will print the file to that
printer, they will not get the desired result.  Instead, the print job will go
to the first printer in the list of printers because the system does not
recognize the alias defined in PRINTER.

(I know this listed in the code as a "todo".  I thought I would add an entry
here as a feature request just to put the feature request in writing.
In the meantime, I can get around this by redefining the entries multiple times.)


Reproducible: Always
Steps to Reproduce:
1. 
2. 
3.
Comment 1 Jean-François Wauthy editbugs 2005-03-02 13:40:23 CET
can printcap contain more than one alias per printer ?
Comment 2 Jason Keltz 2005-03-02 13:43:18 CET
Yes -- I don't even know if there is a limit to the number of aliases you can
have for a printer.  One easy way, I think, of handling this situation is to
treat each alias as a separate entry in the printer list.  In fact, if you did
this, the definition of "Printer" could be a simpler data type!
Comment 3 Jean-François Wauthy editbugs 2005-03-02 13:47:24 CET
the Printer struct and its alias member exists because of CUPS where you can
only define one alias per printer. I think i'll go this way and use a printer
entry per alias.
Comment 4 Jean-François Wauthy editbugs 2005-04-03 19:14:08 CEST
added in HEAD and xfce_4_2 (for your information i started to work on a LPRng
plugin)

Bug #821

Reported by:
Jason Keltz
Reported on: 2005-03-01
Last modified on: 2009-07-14

People

Assignee:
Jean-François Wauthy
CC List:
0 users

Version

Attachments

Additional information