This is a discussion on CUPS, Mozilla and Firefox within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi, I just setup my printer (HP PSC 750) with CUPS and it prints OK, except for Mozilla and ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I just setup my printer (HP PSC 750) with CUPS and it prints OK, except for Mozilla and Firefox. I've searched the docs and, like all too often alas, found a babylonian mess of HOWTO's, hints and various do's and don't's. Question: is there a *simple* way to tell Mozilla and/or Firefox to use CUPS? I understand some folks use a daemon called xprint, but looks like this thing is pretty much bug-infested. Suggestions? Niki Kovacs |
| |||
| Et circa horam Thursday 30 of September 2004 12:18, clamavit Kiki Novak: > Hi, > > I just setup my printer (HP PSC 750) with CUPS and it prints OK, except > for Mozilla and Firefox. I've searched the docs and, like all too often > alas, found a babylonian mess of HOWTO's, hints and various do's and > don't's. > > Question: is there a *simple* way to tell Mozilla and/or Firefox to use > CUPS? I understand some folks use a daemon called xprint, but looks like > this thing is pretty much bug-infested. > > Suggestions? Hello, since you seem to be using KDE, I recommend setting print command to "kprinter" in Mozilla. Then, if your KDE print system is properly configured to work with CUPS, you will be able to use it (and its nice features) with Mozilla. Regards, jkb -- Jacek K. Błaszkowski GAT/L/MU d+ s+:+ a-- C++$ UL++$ US+> P L++ E--- W+ N++ o+ K- w+$ O? M> V? PS+ PE++ Y-- PGP++ t 5? X R tv b++++ DI++ D+ G e h-- r++ y++ |
| |||
| Jacek K. B?aszkowski wrote: > Hello, > since you seem to be using KDE, I recommend setting print command to > "kprinter" in Mozilla. Then, if your KDE print system is properly > configured to work with CUPS, you will be able to use it (and its nice > features) with Mozilla. Gratias ago maximas, fratre. NK |
| |||
| Kiki Novak wrote: >Hi, > >I just setup my printer (HP PSC 750) with CUPS and it prints OK, except for >Mozilla and Firefox. I've searched the docs and, like all too often alas, >found a babylonian mess of HOWTO's, hints and various do's and don't's. > >Question: is there a *simple* way to tell Mozilla and/or Firefox to use >CUPS? I understand some folks use a daemon called xprint, but looks like >this thing is pretty much bug-infested. > >Suggestions? > >Niki Kovacs > > Assuming Slackware 10 installed completely? Did you remove LPRng and CUPS and reinstall CUPS? Can you print from the command line? If all that's true, and you CAN print from the command line with "lp file" (or "lpr file"), then click the printer icon in either Mozilla or Firefox and a window should open that defines the printer as "print to printer" and "Printer PostScript/default." Click the "Properties" button, your should see "Letter (8.5x11 inch)" (or whatever size you use by default), "lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}" and some stuff about color and margins. You can change "lpr" to "lp" (either is fine). If that window looks like that, you're good to go. If the above is true if (and only if so) and you CAN print from the command line (forget about KDE or GNOME, it ain't gonna work if it doesn't work from the command line first). As a last resort, log in as root and run the following shell program (which relinks everything for CUPS if you didn't remove LPRng): #!/bin/ksh # # set up a Slackware Linux system to # use CUPS if LPRng was installed # # must be executed by root # cd /usr/bin rm lp lp-lprng lpq lpr lprm lpstat ln -s lpstat-cups lpstat ln -s lprm-cups lprm ln -s lpr-cups lpr ln -s lpq-cups lpq ln -s lp-cups lp cd /usr/sbin rm lpc ln -s lpc-cups lpc You can also, although this generally isn't necessary, define the environment variable LPDEST as your printer's name; e.g., export LPDEST=whatever where "whatever" is the name you gave your printer when you set up CUPS. Both lp and lpr will use this environment variable as the default printer for a given user (if you only have one printer, put LPDEST in /etc/profile) and some printing problems might just go away. Hope this helps. |
| ||||
| On 2004-09-30, Thomas Ronayne <trona@REMOVETHISameritech.net> wrote: > As a last resort, Why is this a last resort? It seems quicker (except for your omission) than removepkg'ing (a very slow operation) and installpkg'ing. > log in as root and run the following shell program (which relinks > everything for CUPS if you didn't remove LPRng): Not quite everything. > > #!/bin/ksh > # > # set up a Slackware Linux system to > # use CUPS if LPRng was installed > # > # must be executed by root > # > cd /usr/bin > rm lp lp-lprng lpq lpr lprm lpstat No need to rm lp-lprng rm lp lpq lpr lprm lpstat cancel > ln -s lpstat-cups lpstat > ln -s lprm-cups lprm > ln -s lpr-cups lpr > ln -s lpq-cups lpq > ln -s lp-cups lp ln -s cancel-cups cancel > cd /usr/sbin > rm lpc > ln -s lpc-cups lpc Cheers Jim |