You are not logged in.

#1 2007-01-23 10:31:38

lynch
Member
Registered: 2007-01-23
Posts: 2

<solved>Setting up Arch to print to remote cups printer?

Any useful info on setting up Arch to print to remote cups printer? I did'nt succeed using the Cups Setup guide:
http://wiki.archlinux.org/index.php/CUPS_Setup
I have tried the localhost:631 admin interface and kprint. I get  /usr/lib/cups/backend/ipp failure and "stopped with status 22!" errors.
I will set the cupsd.conf LogLevel to debug2 and post anything needed from those results.
Brother hl1240 laser on a remote Suse system.
lynch

Last edited by lynch (2007-01-28 15:30:17)

Offline

#2 2007-01-28 15:29:48

lynch
Member
Registered: 2007-01-23
Posts: 2

Re: <solved>Setting up Arch to print to remote cups printer?

After a bit of searching I have managed to get remote printing to my cups server to work.
I reference 2 documents that helped me resolve this issue.
My searches were specific to my Brother hl1240 laser printer, Arch and cups but I think the resolution is general enough to help others who may have a different model of printer.

http://linuxprinting.org/cups-doc.html

4.   Install the Foomatic scripts.

(If you are using a native CUPS Raster driver, or are using a PostScript printer with a PPD from your printer vendor, you probably do not need Foomatic and should skip this step). Download foomatic-rip and foomatic-gswrapper:
cd /usr/bin
wget http://www.linuxprinting.org/foomatic-rip
wget http://www.linuxprinting.org/foomatic-gswrapper
chmod 755 foomatic-rip foomatic-gswrapper
ln -s /usr/bin/foomatic-rip /usr/lib/cups/filter/foomatic-rip

The location of the CUPS filter directory may differ on other installations; look around for it. Also, be sure that your Perl interpreter is in /usr/bin (if not, edit the first line of the scripts).

http://www.archlinux.org/pipermail/arch … 03203.html

Here's what solved this for me. I browsed
http://linuxprinting.org/cups-doc.html and notice the following:

"Download foomatic-rip and foomatic-gswrapper."

Well, Arch only seems to supply foomatic-gswrapper, not foomatic-rip. When I
attempted to install the Arch foomatic-filters package, it complained,
saying foomatic-gswrapper is already contained in filesystem, with no
mention at all of foomatic-rip. The foomatic package also failed to install
foomatic-rip.

So I downloaded foomatic-rip from the above web site, copied it to /usr/bin,
where foomatic-gswrapper lives. Then I followed the next set of
instructions in the above mentioned document:

chmod 755 foomatic-rip foomatic-gswrapper
ln -s /usr/bin/foomatic-rip /usr/lib/cups/filter/foomatic-rip

I was never able to use the http://localhost:631 interface to get printing to work even after:
[1] installing foomatic-rip and foomatic-gswrapper in the proper directory
[2] running chmod to make them executable
[3] creating the link as in the above quote
[4] running /etc/rc.d/cups restart

Setting up remote printing with kprint in administrative mode works very well, though.
This seems to be somthing that needs to be addressed in future releases ( I'm running 0.7.2) or maybe it was fixed in 0.8, though I have not seen mention of it.
Hopefully this will help someone else with a similar problem.

lynch

Offline

Board footer

Powered by FluxBB