! 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 !
Default printer not honored
Status:
CLOSED: INVALID
Severity:
enhancement
Product:
Xfprint4
Component:
General

Comments

Description Bernhard Walle 2004-11-18 20:04:43 CET
If I print a ASCII file, the print dialog should offer the last-choosed printer
or the default printer (lpstat -a) in CUPS mode.
Comment 1 Bernhard Walle 2004-11-18 20:05:06 CET
Should mean: ... should chooose by default ...
Comment 2 Jean-François Wauthy editbugs 2004-11-19 18:14:30 CET
it already chooses the default printer BTW it works fine here
Comment 3 Bernhard Walle 2004-11-19 18:21:58 CET
Well, it simple does *not* choose the default printer here. With default printer
I mean "lpstat -d".

Does it still work if you change your default printer in CUPS?
Comment 4 Jean-François Wauthy editbugs 2004-11-20 10:30:54 CET
it should, in fact i fill the list and then i put the GetCupsDefault() in the
gtkentry
Comment 5 Bernhard Walle 2004-11-20 10:51:15 CET
Are we talking about 4.1.99.1? I cannot find this in the code. In fact,
printing_system_get_default_printer() is implemented correctly, but where is
this called in the dialog code?
Comment 6 Jean-François Wauthy editbugs 2004-11-20 13:33:26 CET
yes we are talking about RC1
it doesn't use this function, it does it directly :
cups.c:
  /* select default printer */
  printer = printer_lookup_byname (printers, cupsGetDefault ());
  if (printer)
    gtk_entry_set_text (GTK_ENTRY (GTK_COMBO (dialog->customization)->entry),
printer->alias);
Comment 7 Bernhard Walle 2004-11-20 17:35:16 CET
Your're right. I changed the defalt printer in the CUPS setting now and it
works. :) But I really don't know why "lpstat -d" showed the wrong queue.

Thanks for help and sorry.

Bug #515

Reported by:
Bernhard Walle
Reported on: 2004-11-18
Last modified on: 2009-07-14

People

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

Version

Attachments

Additional information