Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CUPS won't print
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Tue Sep 24, 2002 2:00 am    Post subject: CUPS won't print Reply with quote

I'm using turboprin 1.62 w/ cups on my usb canon S300.
I set up the printer in xtpsetup and it appears fin in cups, but when i print cups reports the job as cancelled. When i restart job, it says "Error:

client-error-not-possible"

What did i forget to do. It worked fin before. I can't print w/ xtpcobnfig either, but it sends jobs through cups.

if a i "cat textfile > /dev/usb/lp0" noting happes"

the usb drivers appear to be loaded, both usb-ohci and printer. /dev/usb/lp0 exists.
Back to top
View user's profile Send private message
ghost_o
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2002
Posts: 119

PostPosted: Tue Sep 24, 2002 4:00 am    Post subject: Re: CUPS won't print Reply with quote

gsfgf wrote:
I'm using turboprin 1.62 w/ cups on my usb canon S300.
I set up the printer in xtpsetup and it appears fin in cups, but when i print cups reports the job as cancelled. When i restart job, it says "Error:

client-error-not-possible"

What did i forget to do. It worked fin before. I can't print w/ xtpcobnfig either, but it sends jobs through cups.

if a i "cat textfile > /dev/usb/lp0" noting happes"

the usb drivers appear to be loaded, both usb-ohci and printer. /dev/usb/lp0 exists.


What does your log file /var/log/cups/error* have in it?

-G
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Tue Sep 24, 2002 8:22 pm    Post subject: Reply with quote

Code:
 [23/Sep/2002:13:13:16 -0500] Scheduler shutting down due to SIGTERM.
I [23/Sep/2002:14:03:58 -0500] Listening to 0:631
I [23/Sep/2002:14:03:58 -0500] Configured for up to 100 clients.
I [23/Sep/2002:14:03:58 -0500] LoadPPDs: Read "/etc/cups/ppds.dat", 143 PPDs...
I [23/Sep/2002:14:03:58 -0500] LoadPPDs: No new or changed PPDs...
I [23/Sep/2002:21:58:57 -0500] Job 10 queued on 'tp0' by 'root'.
E [23/Sep/2002:21:58:57 -0500] Unable to convert file 0 to printable format for job 10!
I [23/Sep/2002:22:00:59 -0500] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=22995)
I [23/Sep/2002:22:01:01 -0500] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=22996)
I [23/Sep/2002:22:01:30 -0500] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=23099)
E [23/Sep/2002:22:01:30 -0500] restart_job: job #8 cannot be restarted - no files!


the oter messages are sililmar. does this mean the tp driver isn't filtering right?
Back to top
View user's profile Send private message
Henning
Apprentice
Apprentice


Joined: 08 Sep 2002
Posts: 196
Location: Braunschweig

PostPosted: Tue Sep 24, 2002 9:53 pm    Post subject: Reply with quote

Hi,

so far I understand the message 'Unable to convert file 0 to printable format' meens, that there is no postscript converter installed.

Try installing Ghostscript.
Back to top
View user's profile Send private message
Mnemia
Guru
Guru


Joined: 17 May 2002
Posts: 476

PostPosted: Wed Sep 25, 2002 1:04 am    Post subject: Reply with quote

I'm having pretty much an identical problem:
Here's the error in my /var/log/cups/error_log:
Code:

I [24/Sep/2002:20:59:50 +0000] Job 2 queued on 'printer1' by 'root'.
E [24/Sep/2002:20:59:50 +0000] Unable to convert file 0 to printable format for
job 2!


And I do in fact have Ghostscript installed....

EDIT: reemerging Ghostscript fixed the problem. Seems it has to be installed AFTER cups....methinks this could be a problem with the whole Gentoo print scheme/ebuilds...
Back to top
View user's profile Send private message
ghost_o
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2002
Posts: 119

PostPosted: Wed Sep 25, 2002 2:43 am    Post subject: Reply with quote

OK, I too am using Turboprint, but unfortunately I could never get it to use Ghostscript to filter with. Yes, it recognizes it, but only when I installed all of the dependency packages for Turboprint separately could I get it to print.

It took about 10 minutes to download them all and about 30mins to compile them, but the turboprint drivers make it all worthwhile!

-G
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Wed Sep 25, 2002 2:57 am    Post subject: Reply with quote

i have turbopritnt binaries dl'd from their site. Is a source version available. or does it need additional deps?
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Wed Sep 25, 2002 3:06 am    Post subject: Reply with quote

emerged ghostscript which i don't think i ned w/ turboprint and still same problem.
Back to top
View user's profile Send private message
ghost_o
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2002
Posts: 119

PostPosted: Wed Sep 25, 2002 6:16 am    Post subject: Reply with quote

gsfgf wrote:
i have turbopritnt binaries dl'd from their site. Is a source version available. or does it need additional deps?


They provide no source code, but when you are running the install, there is a screen that shows you which support programs were found on your machine. A list of filters for....

jpg/html/ps/bmp/tiff...etc

You can get all of the required libraries (even though ghostscript can do it all) and install them separately and it works fine.

Note* If you did not purchase the turbo print license, it is not worth it (unless you need a printer supported like me) because it only prints at 300dpi without a banner printed on each page otherwise.

-G
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Thu Sep 26, 2002 12:30 am    Post subject: Reply with quote

I could not find this list. when i reran setup. All it gave me was a lis of print systems (CUPS and LPR) and install directories.


And i do need it to support my printer. Plus 300x300 saves ink. If i need more (finally get a digicam) i'll buy a liscense.
Back to top
View user's profile Send private message
ghost_o
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2002
Posts: 119

PostPosted: Thu Sep 26, 2002 5:08 am    Post subject: Reply with quote

gsfgf wrote:
I could not find this list. when i reran setup. All it gave me was a lis of print systems (CUPS and LPR) and install directories.


And i do need it to support my printer. Plus 300x300 saves ink. If i need more (finally get a digicam) i'll buy a liscense.


It is the TurboPrint setup protocol screen. Just scroll down a bit and you should see it with no problem.

-G
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Fri Sep 27, 2002 2:22 am    Post subject: Reply with quote

Code:
  gs            found          (needed for PS,PDF,FIG,DVI,troff,html,ASCII)
  file          found          (file type recognition)
  zcat          found          (needed for printing of gzip compressed files)
  pstops        found          (of psutils package, needed for duplex printing)
* fig2dev   not found (option) (FIG drawings)
* dvips     not found (option) (TeX DVI documents)
  grog          found          (troff, man documents)
* html2ps   not found (option) (HTML internet pages)
* bmptoppm  not found (option) (BMP pictures)
* tifftopnm not found (option) (TIFF pictures)
* giftopnm  not found (option) (GIF pictures)
  djpeg         found          (JPEG pictures)
* rasttopnm not found (option) (Sunraster pictures)
* pngtopnm  not found (option) (PNG pictures)
* xpmtoppm  not found (option) (XPM pictures)
  a2ps          found          (ASCII text documents)
  enscript      found          (ASCII text documents)
Back to top
View user's profile Send private message
ghost_o
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2002
Posts: 119

PostPosted: Fri Sep 27, 2002 4:54 am    Post subject: Reply with quote

gsfgf wrote:
Code:
  gs            found          (needed for PS,PDF,FIG,DVI,troff,html,ASCII)
  file          found          (file type recognition)
  zcat          found          (needed for printing of gzip compressed files)
  pstops        found          (of psutils package, needed for duplex printing)
* fig2dev   not found (option) (FIG drawings)
* dvips     not found (option) (TeX DVI documents)
  grog          found          (troff, man documents)
* html2ps   not found (option) (HTML internet pages)
* bmptoppm  not found (option) (BMP pictures)
* tifftopnm not found (option) (TIFF pictures)
* giftopnm  not found (option) (GIF pictures)
  djpeg         found          (JPEG pictures)
* rasttopnm not found (option) (Sunraster pictures)
* pngtopnm  not found (option) (PNG pictures)
* xpmtoppm  not found (option) (XPM pictures)
  a2ps          found          (ASCII text documents)
  enscript      found          (ASCII text documents)


That's the one.. OK, for me to get TurnoPrint to work, I had to satisfy all of the dependencies there (install all of the packages listed) before I could get the test page to print. It looks like from what you have listed though, that you caould send a text page and it should work fine.

Code:

$ cat /etc/hosts | lp


Have you tried that, or just tried printing the test page from cups interface. I do not know why, but just having Ghostscript (which should satisfy all of the dependencies alone) would never work for me. The new version of ghostscript is in Portage now though, and may fix this?

Anyway, that is how I got mine to work properly with a Canon S520.

-G
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Fri Sep 27, 2002 12:03 pm    Post subject: Reply with quote

Well i havethe ne ghostscript and it still won't work. I can't print the es page from cups. I'll try sending plain text when i'm on that com tonite. One thing about deps: I tried to emerge html2ps and there is no pkg w/ that name. What do i use for deps like those or where can i fond them?
Back to top
View user's profile Send private message
scottro
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2002
Posts: 141
Location: New York City

PostPosted: Fri Sep 27, 2002 1:19 pm    Post subject: Reply with quote

There was another thread on this, I thought they were going to make it a sticky.

Sigh, when Cups works, it's great, but... still buggy. :)

Here's what has worked for me, on several installs.

Before emerging cups go into /etc/make.conf and add cups to your variables (yes, I know it's
already included by default, but a couple of people have found that to be the key.)

Then, after emerging it, re-emerge ghostscript. Cups installs ghostscript first as a dependency, but reinstalling ghostscript again, after cups is installed has worked for me on a few installs.

I've also found, when setting up my printer (locally connected HP DeskJet 842C) that if I choose the new HP drivers it doesn't work. If I choose the standard HP drivers it does.

HTH
Scott
Back to top
View user's profile Send private message
ghost_o
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2002
Posts: 119

PostPosted: Sun Sep 29, 2002 4:18 am    Post subject: Reply with quote

scottro wrote:
There was another thread on this, I thought they were going to make it a sticky.

Sigh, when Cups works, it's great, but... still buggy. :)


Then, after emerging it, re-emerge ghostscript. Cups installs ghostscript first as a dependency, but reinstalling ghostscript again, after cups is installed has worked for me on a few installs.


Yes, I have to do this EVERYTIME I install Cups -- with or without Turboprint. Forgot to mention that. New GS just hit portage the other day - hopefully that will fix that issue.

-G
Back to top
View user's profile Send private message
ghost_o
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2002
Posts: 119

PostPosted: Sun Sep 29, 2002 5:24 pm    Post subject: Reply with quote

OK, I reinstalled 1.4_rc1 last night, and just a few things.

The dependencies for printing were out of whack in portage, so I had to emerge --nodeps a couple of things do get everything to compile. Once done though, I fired up cups, reemerged ghostscript, restarted cups -- and viola - everything printed. Installed Turboprint (without installing any additional packages for it) and it printed perfect.

-G
Back to top
View user's profile Send private message
scottro
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2002
Posts: 141
Location: New York City

PostPosted: Sun Sep 29, 2002 5:30 pm    Post subject: Reply with quote

I just did a new install as well on another box--as you said, dependencies are way out of whack?

Had it been earlier, I would have kept track and filed a bug--but it was something like if you emerge -p cups it gets ghostscript and gimp-print, emerge -p ghostscript cups and gimp-print emerge -p gimp-print cups and ghostscript.

Like you, I did it with some no-deps, reemerged ghostscript and everything was fine. If you kept track of it, you should probably file a bug report--otherwise, I'll be able to do so in a few days (unless it's fixed) as I'll be doing an install on a new machine.


Scott
Back to top
View user's profile Send private message
scottro
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2002
Posts: 141
Location: New York City

PostPosted: Mon Sep 30, 2002 1:14 am    Post subject: Reply with quote

BTW, someone has already filed a bug about the dependencies issue. Viewable
here

Scott
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Mon Sep 30, 2002 2:11 am    Post subject: Reply with quote

I installed gimp-print and it now prints. the black quality is bad and i get blank spots accross the page. I just bumped the quality up to 600x600 dpi and its better, but slow and uses more ink. Is there a way to get 300x300 dpi working decently.

Also who makes a good inkjet cartridge refill kit. Shuld i just buy the ones form CompUSA or is there a specific brand to buy?

One last thing. Abiword crashes when i print either with print command as lpr or as lp. With nedit if i tell it to print w/ the comand "lp "Untitled" it gives me a client error not found message. How do i print an untitled doc form nedit.

When i print form the command line or from nedit w/ lp filename it prints a whole lot of blank pages and finally gets to the text after about 15 blank pages.
Also there are no margins can i make the printer use >= 1/4" margins always. It can't print on the very edge of the page.

It workes fin in openoffice, though. YAY. I'll try turboprint later. It may work now. Who knows.

EDIT: I had to manually add the printer w/ lpadmin. Is there a way to get the info for the printer to show up in the cups admin page. i put the .pdd file w/ the others. lpadmin works fine, i just don't like the option hiding in cups.

EDIT: Turboprint doesn't work so i will need to fix the weirdness w/ blank pages and magins w/ gimp-print
Back to top
View user's profile Send private message
ghost_o
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2002
Posts: 119

PostPosted: Tue Oct 15, 2002 9:03 pm    Post subject: Reply with quote

gsfgf wrote:

EDIT: I had to manually add the printer w/ lpadmin. Is there a way to get the info for the printer to show up in the cups admin page. i put the .pdd file w/ the others. lpadmin works fine, i just don't like the option hiding in cups.

EDIT: Turboprint doesn't work so i will need to fix the weirdness w/ blank pages and magins w/ gimp-print


I use turboprint for everything. Adding printers, etc.. It interfaces with Cups just fine, so once the printer is added, you can administer it and changes settings through Cups.

-G

BTW: Turboprint (with Canon anyway) prints 500% better than any other Cups/gimp-print/ghostscript/foomatic combo I have ever tried. Now, with HP and Epson, gimp-print is supposedly pretty good as well. The key is to make sure that you have the driver that is best for the printer as far as ink usage and tones goes. linuxprinting.org keeps a pretty good databse of them.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum