How can I view default printer in printer list
vipul mahajan
vipul.mahajan at spectross.com
Tue Mar 27 06:04:17 PDT 2012
Hello,
I was trying to modify the GUI a bit so that I can see the default printer in the list of printers when I click "Printers". I added following code in "printers.tmpl":
<TD>{default_name={printer_name}?Default Printer:}</TD>
but its output in GUI is always blank. If I modify the code as:
<TD>{default_name={printer_name}?Default Printer:Not Default}</TD>
It gives output as "Not Default" in all of the printers.
I have modified the GUI to show whether the printer is shared and that is working fine. I don't understand why "Shared" is working and "Default" is not working.
Please let me know how can I do it.
More information about the cups
mailing list