LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   printer issues outside of KDE (https://www.linuxquestions.org/questions/slackware-14/printer-issues-outside-of-kde-206377/)

tw001_tw 07-17-2004 05:41 PM

printer issues outside of KDE
 
It seems I should be able to get this, but no luck thus far. I have finally decided to setup my
printer in slackware.

Well, I edited /etc/rc.d/rc.modules for access to the parallel port - on bootup, the system
recognizes and gives the name of my printer - Xerox Docuprint N17 - so far so good.

I setup the printer in CUPS (localhost:631) test print is great.

I can print from KWord, and other programs.
But, I can not print from mozilla.

Going to file -> print -> options
I changed the default:
lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}

to

lpoptions -d xerox
(xerox is the CUPS name for the printer)
as suggested in a search here at LQ, but no luck.

Although I did find something unusual, at the console, when I type lpr, I get
a "-bash: lpr: command not found". I did uninstall lprng, I read on a few places that
it can cause conflicts with CUPS.

As a test, it seems I can't print from gimp either.

Thanks in advacne - tw

BajaNick 07-17-2004 06:45 PM

Ive been looking for a solution to not being able to print in mozilla also but I can print through all other programs. Ive just got into a habit of saving whatever it is to a text file then printing from there.

tw001_tw 07-17-2004 07:07 PM

BajaNick,

Yeah... saving to .ps file is a reasonable workaround until the problem can be resolved appropriately.

Thats what I had to do in 9.1. Maybe I could fire up my Suse drive and see how its done
there - works fine with that distro. Good old backwards engineering. I'll post the results here.

Although if someone does have a suggestion/idea, please.... feel free.

thanks -tw

north49er 07-17-2004 07:08 PM

In one of the tips I ran across, it says that many programs print to lpr by default. I've reinstalled lprng and seem to have no problems with cups so far. You can link lpr requests to cups as follows:

rm /usr/bin/lpr
ln -s /usr/bin/lpr-cups /usr/bin/lpr

Hard to see, but there is a space after rm, ln, -s, and lpr-cups.

rm /usr/bin/lpr
ln -s /usr/bin/lpr-cups /usr/bin/lpr

tw001_tw 07-17-2004 08:44 PM

For now - I have got it. The reverse engineering thing on my suse drive seemed to work.

In mozilla, file -> print -> options

and I replaced the default:

lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}

with

kprinter --stdin

Since KDE is my standard desktop, it works fine.

I think I will have to do a bit more work to get gimp to print, so thanks for all the tips.

-tw


All times are GMT -5. The time now is 12:08 PM.