Re: Missing LPR command dialog in Seamonkey 2/very basic Linux

2010-02-07 Thread Miro

Peter Nieman wrote:

On 04/02/10 11:40, Miro wrote:

Seamonkey 2.0.x seems to ignore most of these, and does not recognize
any printer, only presents the possibility Print to File.


For me (Debian user), the solution was to add the following line to the
file .gtkrc-2.0 in my home directory:

gtk-print-backends = lpr,file

Create a new file with that name and content, if it does not exist.

However, Seamonkey does not remember any changes to the printing command
you might wish to make in the print dialog. I think that's a known bug
(in GTK perhaps).



Thanks! It worked for me, too.
Forgetting print command changes does not bother me that much as one can 
defined in /etc/printcap several entries with short names for the same printer 
with different options for the filter ifhp (e.g., for 2-side printing, 
:if=/usr/lib/ifhp/ifhp -Tduplex=on).

What makes me more angry is that the footer and header settings are forgotten, 
too.
I tried to add the preference   print.save_print_settings   set to  true.
It did not help. It just caused that sometime the changed header and footer 
settings were actually written into the pref.js file, but as the print_command 
settings, they are always ignored when printing the next time.


Hope that this bug will be corrected in a future release.

I also tried to add to pres.js for Print_to_LPR the same set of 
print.tmp.printerfeatures that were there for PostScript/Default, and even 
added two more for print_command and 12 more for headers/footers, such as:

user_pref(print.tmp.printerfeatures.Print_to_LPR.can_change_headerright, 
true);
user_pref(print.tmp.printerfeatures.Print_to_LPR.supports_headerright_change, 
true);
Although they showed in about:config, they had no effect, and are probably 
illegal, because Seamonkey did not write any of my 
print.tmp.printerfeatures.Print_to_LPR back into prefs.js on the next closing.


Otherwise, I am happy with Seamonkey ...
___
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey


List of all preferences from pref.js

2010-02-04 Thread Miro

Hi!
Is there somewhere available for download a list of all preferences (name, type 
and allowed valued) from pref.js (about:config) recognized (and respected) by 
SM 2 in Linux?

Or at least all preferences related to printer selection and printing.
Thanks,
Miro
___
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey


Missing LPR command dialog in Seamonkey 2/very basic Linux

2010-02-04 Thread Miro

Specifically, I have this problem:

I have a simple Linux installation based on Ubuntu 9.04 mini.iso. It does not
use any desktop, only the Fluxbox WM. For printing, I use LPRng. Printers
are defined in /etc/printcap. Command line printing works.
In this setup, I had no problems in Seamonkey 1.x.y
with printing directly to a real printer. Using pref.js transferred from
Mozilla suite on Windows, with a o lot of printer preferences defined.
After I selected a printer in the Seamonkey 1 print dialog, I was presented
a LPR command window where I could further modify the lpr command for the given
printer.
Recently I have switched to Seamonkey 2, using again the same user profile
(pref.js) as before, including all the printer/printing settings.
Seamonkey 2.0.x seems to ignore most of these, and does not recognize
any printer, only presents the possibility Print to File.
Setting environmental variables PRINTER, MOZ_PRINTER_NAME_LIST, etc did
not help.

Do you have any idea how to at least force Seamonkey 2 to offer an
LPR command window in the print dialog?

I have noticed that some other graphical application (e.g., epdfview) also do 
not recognize any printers besides Print to File and do not offer

new printer installation.
So maybe there is a missing package in my system that provides interface
between the print dialogs of graphical applications and LPRng. Is there
such simple package? (I am not interested in full desktops or CUPS)

On the other hand, e.g. gv offers the LPR command line window
after pushing the PRINT button even now. Could this be enabled also
in Seamonkey 2?

Thanks for any advice!
___
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey