LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-21-2004, 07:41 AM   #1
gjhicks
Member
 
Registered: Jun 2004
Location: Melbourne, Australia
Posts: 47

Rep: Reputation: 15
CUPS not 'talking' to foomatic?


Hi,

I am using CUPS to print to a Canon BJ 43010SP connected to a network by an ethernet print server.

Connecting via lpd://192.168.0.10:515/lp and using CUPS with a Canon 43000Gimp-Print v 4.26 driver, everything works fine.

But, when I tried to use a PPD (from www.linuxprinting.org) specific to the Canon 4310SP I had a problem.

I tested the PPD file with 'cupstestppd' and it was fine.

The PPD file seemed to install fine, using the CUPS setup browser interface. But when tried to print a test page nothing happpened. Checking in a terminal the printer's status was "Attempting to connect to host 192.168.0.10 for printer lp" and just stayed that way.

All the foomatic packages are installed and I tried stopping and re-starting CUPS (even re-booting).

I would greatly appreciate any help.

Regards,

Geoff.
 
Old 07-21-2004, 08:05 AM   #2
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
sorry, i can't help you, i don't even own a printer, can't afford the ink cartridges.

But, out of curiosity, what do the boys from the linuxprinting.org forums say about this? have you asked them?
 
Old 07-21-2004, 08:41 AM   #3
gjhicks
Member
 
Registered: Jun 2004
Location: Melbourne, Australia
Posts: 47

Original Poster
Rep: Reputation: 15
Hi,

Had a look at those forums. Very few posts and even fewer replies.

Regards,

Geoff.
 
Old 07-22-2004, 12:59 AM   #4
rosslaird
Member
 
Registered: Jul 2003
Location: Vancouver
Posts: 76

Rep: Reputation: 16
cups...

I don't know much about this, but I've just worked through a long post on this forum about my own cups network printing problem, and in the process have looked through the cupsd.conf file quite a bit. Take a look at the Browse and Listen settings in that file to make sure that machines on your network can connect properly. Also, I had to choose the non-foomatic driver choice for my printer to get network printing to work properly.

As I said, I don't know much, but maybe some of this will help.
 
Old 07-22-2004, 06:31 AM   #5
gjhicks
Member
 
Registered: Jun 2004
Location: Melbourne, Australia
Posts: 47

Original Poster
Rep: Reputation: 15
Hi,

Thanks for your interest - I read your post with interest.

Actually the network connection works fine for the gimp-print drivers. I have used the debug setting in cupsd.conf to trap the errors. The extract below says (I think) that the problem is connected with cups using the foomatic-rip filter utility:

I [22/Jul/2004:18:42:40 +0000] New printer 'BJC4310SP' added by 'root'.
I [22/Jul/2004:18:42:43 +0000] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=2016)
I [22/Jul/2004:18:42:48 +0000] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=2017)
I [22/Jul/2004:18:42:49 +0000] Adding start banner page "none" to job 1.
I [22/Jul/2004:18:42:49 +0000] Adding end banner page "none" to job 1.
I [22/Jul/2004:18:42:49 +0000] Job 1 queued on 'BJC4310SP' by 'root'.
I [22/Jul/2004:18:42:49 +0000] Started filter /usr/lib/cups/filter/pstops (PID 2018) for job 1.
I [22/Jul/2004:18:42:49 +0000] Started filter /usr/lib/cups/filter/foomatic-rip (PID 2019) for job 1.
I [22/Jul/2004:18:42:49 +0000] Started backend /usr/lib/cups/backend/lpd (PID 2020) for job 1.
E [22/Jul/2004:18:42:49 +0000] PID 2019 stopped with status 2!

The funny thing is that when I tried the "lprng" printing method, using apsfilter to setup the printer, I was able to get both the gimp-print and foomatic ppds to work. But only as testpages from apsfilter - that is a whole other story. However, the foomatic output was much better (and faster) than the gimp-print.

Hence why I am trying to get the cups system to work - at least I have been able to get it to work (using the gimp-print drivers) with applications.

As a (hopefully) refugee from Windows, I just can't believe that the printing in Linux is so difficult.

Bye for now,

Geoff.
 
Old 07-22-2004, 07:00 AM   #6
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
I just can't believe that the printing in Linux is so difficult.
A major part of printing difficulties under Linux are due to printer manufacturers not providing decent driver support for Linux. I recently bought a local laser printer (Samsung ML-1710) that comes with a proprietary CUPS driver for Linux (with a GUI driver setup program!) on CD and now I can print in Linux just as easily as in WinXP, with the same printing options and the same printing quality. I guess Linux has to become a bit more popular before printer manufacturers wake up to realize that offering drivers for Linux helps to sell their products. My initial intention was to buy a HP or Canon or Epson printer but after visiting linuxprinting.org and checking the Linux support for their printers, I decided to go for Samsung instead.
 
Old 07-22-2004, 08:13 AM   #7
gjhicks
Member
 
Registered: Jun 2004
Location: Melbourne, Australia
Posts: 47

Original Poster
Rep: Reputation: 15
Hi,

What you say about the printer manufacturer's lousy support for linux is true.

But my problem is not the driver.

Under apsfilter/lprng I get a beautiful test page using ghostscript but can not print from any of the applications.

Under CUPS I can print but the gimp-print driver output is not very good.

The problem is that I can not get CUPS to use the foomatic/ghostscript driver, which is the driver that gives the great test print with apsfilter.

It seems that the lego-style printing system, with all the little variations across the major distros, that is the problem.

Geoff.
 
Old 07-22-2004, 08:33 AM   #8
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
I don't know if this will be of any help, but have you tried the "xpp" (X Printing Panel) program, which you can use to tweak most properties of your CUPS driver? I have no idea how to make CUPS to use the foomatic/ghostscript driver but with xpp you should at least be able to sqeeze the best output of the gimp-print driver.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS-Foomatic-gimp-print problem Osborne1934 Linux - Newbie 1 07-23-2005 03:54 PM
Foomatic problems harken Linux - Software 2 02-03-2005 03:43 AM
EPSON Stylus C82 not working even after ins CUPS and Foomatic filters cevjr Linux - Hardware 8 03-18-2004 04:33 PM
Why is printing so complicated? (HP, FOOMATIC and CUPS problems.) Jefficus Linux - General 1 02-04-2004 06:36 PM
gentoo+cups+ghostscript+foomatic=nothing works busbarn Linux - Software 1 04-30-2003 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration