http://qa.mandrakesoft.com/show_bug.cgi?id=4581





------- Additional Comments From [EMAIL PROTECTED]  2003-11-09 17:18 -------
Adding a variable to a system-wide /etc/profile is not helping
(apart that there is /etc/profile.d for this kind of things), because
it would set XPRINTER to the system-wide printer and not to the user-printer.

As I said adding the:

export XPRINTER="\`foomatic-configure -q -Q 2>&1| grep defaultqueue | sed -e
'[EMAIL PROTECTED]@@g' -e's@<>@@g' -e 's@</>@@g'\`"

to a /etc/profile.d script does the job, but has too many side effects
(it's too slow, chokes when DNS is down or cups not started, etc.). If
you find something more light for doing the same job, without the
side effects, we have resolved the XPRINTER problems...
Something like:

export XPRINTER=`lpstat -d |cut -d: -f2` is faster, but still has
some side effect (depends on printing system, etc.) ...


-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: NEW
creation_date: 
description: 
When printing the URL above, the utf-8 chars are replaced by a small square
character.

Reply via email to