When printing from Mozilla (1.2.1), their is no choice of printers - it always prints to the default. mozilla.org says that I need to run Xprint. Xprt (the daemon that picks up the printer definitions from CUPS) is there and seems to be running, but I gather from x.org that it also needs dtpdmd to pass the information from Xprt to the application - and dtpdmd doesn't seemto be supplied in SuSE 8.1. Can anyone confirm this and, if so, do I have to do a complete X11 install to get it or is there some other way? TIA. -- Chris Janman work cjanman@www.devon.gov.uk home cjanman@attglobal.net
Chris Janman wrote:
When printing from Mozilla (1.2.1), their is no choice of printers - it always prints to the default. mozilla.org says that I need to run Xprint. Xprt (the daemon that picks up the printer definitions from CUPS) is there and seems to be running, but I gather from x.org that it also needs dtpdmd to pass the information from Xprt to the application - and dtpdmd doesn't seemto be supplied in SuSE 8.1. Can anyone confirm this and, if so, do I have to do a complete X11 install to get it or is there some other way? TIA.
I had the same problem: the solution seems to be to edit a file called /opt/mozilla/defaults/pref/unix.js. Here's the changes I made. This is a diff file so < means the old line and > means the replacement(s): Edited /opt/mozilla/defaults/pref/unix.js: 340c340,341 < pref("print.postscript.paper_size", "letter"); ---
// pref("print.postscript.paper_size", "letter"); pref("print.postscript.paper_size", "a4"); 342c343,344 < pref("print.postscript.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}");
// pref("print.postscript.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}"); pref("print.postscript.print_command", "/usr/bin/qtcups");
JDL
On Fri, 20 Dec 2002 15:44:27 +0000
John Lamb
Chris Janman wrote:
When printing from Mozilla (1.2.1), their is no choice of printers - it always prints to the default. mozilla.org says that I need to run Xprint. Xprt (the daemon that picks up the printer definitions from CUPS) is there and seems to be running, but I gather from x.org that it also needs dtpdmd to pass the information from Xprt to the application - and dtpdmd doesn't seemto be supplied in SuSE 8.1. Can anyone confirm this and, if so, do I have to do a complete X11 install to get it or is there some other way? TIA.
I had the same problem: the solution seems to be to edit a file called /opt/mozilla/defaults/pref/unix.js. Here's the changes I made.
This works for me: In unix.js: pref("print.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}"); pref("print.printer_list", "lp lp1 lp2 lp3 lp4 lp5 lp6 lp7"); // list of printers, where lp lp1 lp2 etc are the printer names you setup for cups with yast2 -- use Perl; #powerful programmable prestidigitation
This works for me: In unix.js:
pref("print.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}"); pref("print.printer_list", "lp lp1 lp2 lp3 lp4 lp5 lp6 lp7"); // list of printers,
where lp lp1 lp2 etc are the printer names you setup for cups with yast2
Much smarter. I use it now :-)
-- use Perl; #powerful programmable prestidigitation
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- Med venlig hilsen - Best regards - vy73 de OZ4KK. Erik Jakobsen - eja@urbakken.dk Registered Linux user #114875 - http://counter.li.org
On Fri, 2002-12-20 at 11:22, zentara wrote:
On Fri, 20 Dec 2002 15:44:27 +0000 John Lamb
wrote: <snip> This works for me: In unix.js: pref("print.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}"); pref("print.printer_list", "lp lp1 lp2 lp3 lp4 lp5 lp6 lp7"); // list of printers,
where lp lp1 lp2 etc are the printer names you setup for cups with yast2
And if you are running CUPS an easy way to see your list of printers (and manage them) is to point your browser to http://localhost:631. -- ___________________________________________________________________ A Message From... L. Mark Stone http://www.lmstone.com
* L. Mark Stone (LMStone@LMStone.com) [021222 10:20]:
->On Fri, 2002-12-20 at 11:22, zentara wrote:
->> On Fri, 20 Dec 2002 15:44:27 +0000
->> John Lamb
Op zondag 22 december 2002 19:25, schreef Ben Rosenberg:
* L. Mark Stone (LMStone@LMStone.com) [021222 10:20]: ->On Fri, 2002-12-20 at 11:22, zentara wrote: ->> On Fri, 20 Dec 2002 15:44:27 +0000 ->> John Lamb
wrote: -><snip> ->> This works for me: ->> In unix.js: ->> ->> pref("print.print_command", "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}"); ->> pref("print.printer_list", "lp lp1 lp2 lp3 lp4 lp5 lp6 lp7"); // list of printers, ->> ->> where lp lp1 lp2 etc are the printer names you setup for cups with yast2 -> ->And if you are running CUPS an easy way to see your list of printers ->(and manage them) is to point your browser to http://localhost:631. Very true. One can administer printers for the system this way, but the question was how to get Mozilla/Netscape to see all of these printers and give a choice. Most of the time Mozilla/Netscape under Linux give you a choice of the first in the list only and one has to force it to list all of the available printers. It's a serious feature lack in Mozilla, but the above settings are a pretty easy work around. :)
Use kprinter as printer command instead of lpr. And you get all the features kprinter offers. -- Richard Bos Without a home the journey is endless
On 22 Dec 2002 13:18:11 -0500
"L. Mark Stone"
And if you are running CUPS an easy way to see your list of printers (and manage them) is to point your browser to http://localhost:631.
Stupid question probably but when using this web interface I get prompted for a username and password when I try to do management things like "add printer." What username and password is this? Where do I configure this? It's not the username I logged on with so I'm confused. Thanks, -- Rick
On Mon, 23 Dec 2002 10:13 am, Rick Reumann wrote:
On 22 Dec 2002 13:18:11 -0500
"L. Mark Stone"
wrote: And if you are running CUPS an easy way to see your list of printers (and manage them) is to point your browser to http://localhost:631.
Stupid question probably but when using this web interface I get prompted for a username and password when I try to do management things like "add printer." What username and password is this? Where do I configure this? It's not the username I logged on with so I'm confused.
Thanks,
To administer Cups you log in as root. -- Regards, Graham Smith ---------------------------------------------------------
On Fri, 20 Dec 2002 15:02:06 +0000
Chris Janman
When printing from Mozilla (1.2.1), their is no choice of printers - it always prints to the default. mozilla.org says that I need to run Xprint. Xprt (the daemon that picks up the printer definitions from CUPS) is there and seems to be running, but I gather from x.org that it also needs dtpdmd to pass the information from Xprt to the application - and dtpdmd doesn't seemto be supplied in SuSE 8.1. Can anyone confirm this and, if so, do I have to do a complete X11 install to get it or is there some other way? TIA.
In Mozilla try to click on PRINT. A new box comes up. Choose PROPERTIES and I think that you have the lpr there ?. Then you after the lpr writes lpr -Pxx. The xx is the name of your wanted printer. HTH.
-- Chris Janman work cjanman@www.devon.gov.uk home cjanman@attglobal.net
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- Med venlig hilsen - Best regards - vy73 de OZ4KK. Erik Jakobsen - eja@urbakken.dk Registered Linux user #114875 - http://counter.li.org
Erik Jakobsen wrote:
On Fri, 20 Dec 2002 15:02:06 +0000 Chris Janman
wrote: When printing from Mozilla (1.2.1), their is no choice of printers - it always prints to the default. mozilla.org says that I need to run Xprint. Xprt (the daemon that picks up the printer definitions from CUPS) is there and seems to be running, but I gather from x.org that it also needs dtpdmd to pass the information from Xprt to the application - and dtpdmd doesn't seemto be supplied in SuSE 8.1. Can anyone confirm this and, if so, do I have to do a complete X11 install to get it or is there some other way? TIA.
In Mozilla try to click on PRINT. A new box comes up. Choose PROPERTIES and I think that you have the lpr there ?. Then you after the lpr writes lpr -Pxx.
The xx is the name of your wanted printer.
HTH.
-- Chris Janman work cjanman@www.devon.gov.uk home cjanman@attglobal.net
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Appear : lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME} What I need to change?
Chris Janman
When printing from Mozilla (1.2.1), their is no choice of printers - it always prints to the default.
As a workaround, kprinter can be used instead of lpr. The kprinter's dialog window is opened for each printing job and a printer can be selected. It's not the best solution but it works for other applications (gv, ...) too. -- Alexandr.Malusek@imv.liu.se
participants (11)
-
"Hipólito A. González M."
-
Alexandr Malusek
-
Ben Rosenberg
-
Chris Janman
-
Erik Jakobsen
-
Graham Smith
-
John Lamb
-
L. Mark Stone
-
Richard Bos
-
Rick Reumann
-
zentara