[opensuse] How can I change the default printer for Firefox
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I change, using cups, the default printer for the user, but Firefox still wants to use the previous default printer. How do I convince Firefox to change to the real default printer instead of his own idea of what should be the default printer? - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGbJSTtTMYHG2NR9URAlLiAJ9pGDCHHDMJw8tbD3OPp52fDAbSzgCfQUEv 8uTIt/acK/K3jwTisXP2f18= =QnSG -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 10 June 2007 19:17, Carlos E. R. wrote:
How do I convince Firefox to change to the real default printer instead of his own idea of what should be the default printer? If you're not running Firefox 2.0.0.4, then get it.
... also, go back into cups... use the SUSE ==> Utilities ==> Printing ==> Printing Manager ... as administrator (use the root password) and set the default printer again... probably didn't take. Firefox will use the default system printer... mine works great. -- Kind regards, M Harris <>< -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2007-06-10 at 19:33 -0500, M Harris wrote:
How do I convince Firefox to change to the real default printer instead of his own idea of what should be the default printer? If you're not running Firefox 2.0.0.4, then get it.
That's the one I have.
... also, go back into cups... use the
SUSE ==> Utilities ==> Printing ==> Printing Manager
... as administrator (use the root password) and set the default printer again... probably didn't take.
That's what I did and it is correctly set. And it pops a warning, that any user default using lpoptions will override the settings via cups web local page. Indeed, lpoptions shows the old printer.
Firefox will use the default system printer... mine works great.
It doesn't here. I had to use the command line: lpoptions -d tf0 and now firefox takes the new one. 10 points to the command line, zero to the GUI. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGbRrRtTMYHG2NR9URAhuGAJ46DZeyxJiyXIyNMzJwm+z7UBgSuQCdFsSj AD6e9B64YVq9mp6vFYq7Tls= =hke4 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun June 10 2007 18:17, Carlos E. R. wrote:
Hi,
I change, using cups, the default printer for the user, but Firefox still wants to use the previous default printer. How do I convince Firefox to change to the real default printer instead of his own idea of what should be the default printer?
If you want to parse through Kprinter, these are the hints I give to my students on how to setup printing in Firefox: 1.1.To send print jobs through Kprinter, enter as URL “about:config”, then change the entry “print.postscript.print_command”, “print.print_command” and “print.printer_Postscript/default.print_command” to Value: “kprinter”. When printing select “PostScript/default” as “Printer Name”. 1.2.To prevent cropping of header and footer when printing, change “Gap from edge to Margin” to 0.25 inches in all sides in Printer / Properties in the Print window. (this was just a bonus hint ;) -- Carlos FL Who is General Failure, and why is he reading my disk? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2007-06-10 at 21:00 -0600, Carlos F Lange wrote:
Firefox to change to the real default printer instead of his own idea of what should be the default printer?
If you want to parse through Kprinter, these are the hints I give to my students on how to setup printing in Firefox:
Not really, because I don't use kde normally.
1.1.To send print jobs through Kprinter, enter as URL "about:config", then change the entry "print.postscript.print_command", "print.print_command" and "print.printer_Postscript/default.print_command" to Value: "kprinter".
print.print_command does not exist. print.postscript.print_command = lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME} print.printer_PostScript/default.print_command = lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME} So that is correct. Then, I have: print.print_printer = CUPS/tofile which is the printer I want to have, but still when I try to print mozilla (I mean, firefox) pops the print dialog with the previous printer selected, and the one I want half way down the list.
When printing select "PostScript/default" as "Printer Name".
I did that once, yes, but the choice in the dialog does not stick. And that "PostScript/default" does not print to my system default printer as defined in cups (it prints to tp0). I could hack those to the name I want, but I don't like that. I will forget the default string when I want to put it back and will have to ask here again O:-)
1.2.To prevent cropping of header and footer when printing, change "Gap from edge to Margin" to 0.25 inches in all sides in Printer / Properties in the Print window. (this was just a bonus hint ;)
Ah, yes... I have them at the default .14 inches. Should change that, probably. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGbRe/tTMYHG2NR9URArwpAJ9X3Nkw+Id6rxj8CsT6p7v8hLr1zgCePk1t Y/YMD785TamtIdEF+WdvstQ= =Y7Lb -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
I change, using cups, the default printer for the user, but Firefox still wants to use the previous default printer. How do I convince Firefox to change to the real default printer instead of his own idea of what should be the default printer?
It should get the right one but at least you would have to restart Firefox I guess. Wolfgang -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2007-06-11 at 09:45 +0200, Wolfgang Rosenauer wrote:
It should get the right one but at least you would have to restart Firefox I guess.
I restarted several times already. The firefox print dialog wants to print to the previous default printer every single time. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGbRgFtTMYHG2NR9URAmvLAJ9Ocb1NqbWeWV89wRxjaUwhCIUvnQCgjOf5 z3/VhnqJGIojiLOIGJczV1I= =1EV2 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
does anyone has tried installing openSUSE10.2 on HP Pavilion dv2201 and dv2213 laptop? Is all the hardware well detected? Could anyone share it please... thx :) hans -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2007-06-11 at 16:43 +0700, Hans Linux wrote:
does anyone has tried installing openSUSE10.2 on HP Pavilion dv2201 and dv2213 laptop? Is all the hardware well detected? Could anyone share it please...
You have hijacked my thread. Please don't. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGbTIUtTMYHG2NR9URAswKAJ96HlYL3KUDOwSAnbTbGswuN0I8YACgjsPd IqK5HSKaBkDN/wxXp11lIWc= =xHZc -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 11 June 2007 12:43, Hans Linux wrote:
does anyone has tried installing openSUSE10.2 on HP Pavilion dv2201 and dv2213 laptop? Is all the hardware well detected? Could anyone share it please...
thx :) hans
I have installed OpenSuSE 10.2 on HP Pavilion s7605. Main problem was related to usb devices recognition (no usb was recognized). I solved this using the latest linux kernel from OpenSuSE repository: 2.6.21-8. I have not tried to see if WiFi works. -- Cristea Bogdan Software Engineer ITC Networks -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, June 11, 2007 2:43 am, Hans Linux wrote:
does anyone has tried installing openSUSE10.2 on HP Pavilion dv2201 and dv2213 laptop? Is all the hardware well detected? Could anyone share it please...
I recently installed on a nx9440, and only had one issue - the SD/MS/XD/MMC card is not recognized... http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1133191&admit=-682735245+1181575989277+28353475 Other than that - all is well, even the on screen display for the multimedia keys worked without configuration on my part. Much different than loading Mandrake 6 on my P133 Fujitsu laptop back in '99. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, 2007-06-11 at 11:38 +0200, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Monday 2007-06-11 at 09:45 +0200, Wolfgang Rosenauer wrote:
It should get the right one but at least you would have to restart Firefox I guess.
I restarted several times already. The firefox print dialog wants to print to the previous default printer every single time.
Try using lpoptions -d
On Mon, 2007-06-11 at 07:28 -0400, Kenneth Schneider wrote:
On Mon, 2007-06-11 at 11:38 +0200, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Monday 2007-06-11 at 09:45 +0200, Wolfgang Rosenauer wrote:
It should get the right one but at least you would have to restart Firefox I guess.
I restarted several times already. The firefox print dialog wants to print to the previous default printer every single time.
Try using lpoptions -d
as your user and see if it changes the default.
Just a follow up.
From the CUPS manual:
Setting the Default Printer Run the lpadmin command with the −d option to set a default printer: /usr/sbin/lpadmin −d printer ENTER ************************************************************************ The default printer can be overridden by the user using the lpoptions(1) command. ************************************************************************ -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2007-06-11 at 07:28 -0400, Kenneth Schneider wrote:
I restarted several times already. The firefox print dialog wants to print to the previous default printer every single time.
Try using lpoptions -d
as your user and see if it changes the default.
I know, already did that and it worked, as I said in other part of the thread :-) - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGbTS9tTMYHG2NR9URAgkCAJ4rLqLxPXQMi2Kl9gIRrjmbNLZm4ACdHYPI l+Wb7IGB9+B5N3LawGocx/c= =CGup -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, On Jun 11 09:45 Wolfgang Rosenauer wrote (shortened):
Carlos E. R. wrote:
I change, using cups, the default printer for the user, but Firefox still wants to use the previous default printer. How do I convince Firefox to change to the real default printer instead of his own idea of what should be the default printer?
It should get the right one but at least you would have to restart Firefox I guess.
Both "lpadmin -d ..." as root and "lpoptions -d ..." as normal user and as root work perfectly well for me using openSUSE 10.2 even without restarting of Firefox (MozillaFirefox-2.0-30). It uses always the queue which is shown by "lpstat -d" for the user who runs Firefox. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2007-06-12 at 16:13 +0200, Johannes Meixner wrote:
Both "lpadmin -d ..." as root and "lpoptions -d ..." as normal user and as root work perfectly well for me using openSUSE 10.2 even without restarting of Firefox (MozillaFirefox-2.0-30). It uses always the queue which is shown by "lpstat -d" for the user who runs Firefox.
The problem was that I used the cups local web page to define which printer was the default one, and Mozilla ignores that. It worked when I used the CLI only to define the default printer, the other setting via GUI is ignored. It is not a strictly bug, though, as the web page pops a transient message warning of that posibility. I would consider it a bug, though. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGbyuptTMYHG2NR9URAndiAJ43vVc4f39M6VRMoHSHk96SWmmzBgCcDxqE tLn/O9vXozIzIL0VZKcbSMw= =mzPs -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, On Jun 13 01:26 Carlos E. R. wrote (shortened):
The Tuesday 2007-06-12 at 16:13 +0200, Johannes Meixner wrote:
Both "lpadmin -d ..." as root and "lpoptions -d ..." as normal user and as root work perfectly well for me using openSUSE 10.2 even without restarting of Firefox (MozillaFirefox-2.0-30). It uses always the queue which is shown by "lpstat -d" for the user who runs Firefox.
The problem was that I used the cups local web page to define which printer was the default one, and Mozilla ignores that. It worked when I used the CLI only to define the default printer, the other setting via GUI is ignored.
Thanks for the information. I could verify that it fails via CUPS web interface when you do it the first time - i.e. when CUPS does its authentication. After authentication my Firefox returns with a blank page but a special URL is shown in its URL line. The default was not changed ("lpstat -d" still shows the old default) but it changes when I let Firefox load the special URL ("lpstat -d" shows the new default and also Firefox's print menue). Once you did the authentication (without restaring Firefox) it works well via the CUPS web interface to change the default to this or that queue (because as long as Firefox runs there is no need for a second authentication). Therefore it is a bug regarding how authentication via the CUPS web interface works with the browser. Perhaps it happens only in Firefox - perhaps Firefox's defaults inhibit something (e.g. an automated replacement of a web page by a new one - those with the special URL) or whatever the actual reason might be (I am neither a HTTP nor a browser expert). Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (9)
-
Carlos E. R.
-
Carlos F Lange
-
Cristea Bogdan
-
Hans Linux
-
Johannes Meixner
-
Kai Ponte
-
Kenneth Schneider
-
M Harris
-
Wolfgang Rosenauer