Common UNIX Printing System (CUPS) v1.3.11

Problems and successes with specific brands/models of printers
Message
Author
User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#16 Post by DaveS »

Patriot wrote:Hmmm .....

During the recent troubleshooting of plankenstein's canon ip2600, I have encountered a bug in several canon cnij (InkJet) drivers
I guess this relates to Canons own drivers rather than the included Gutenprint options? I ask because I have had no problems with native Gutenprint driver for ip4600.
Spup Frugal HD and USB
Root forever!

User avatar
Patriot
Posts: 733
Joined: Thu 15 Jan 2009, 19:04

#17 Post by Patriot »

Hmmm .....
DaveS wrote: ..... I guess this relates to Canons own drivers rather than the included Gutenprint options? I ask because I have had no problems with native Gutenprint driver for ip4600.
Yes, it affects canon's own drivers prior to v3.00. The ip4600 uses v3.00 drivers and is not affected by this. If you have tried the canon ip4600 drivers that was extracted directly from .deb or .rpm then that's where the problem begins ...

Canon drivers are somewhat distro dependent (to be precise: directory layout dependent). If any one of the symlinks or files is not in the expected location, it borks out ... I noticed this behaviour during the ip2600 troubleshooting ... We need to hunt down where they should actually be ... The best solution is to completely rebuild from the sources for puppy ...


Rgds

setecio
Posts: 326
Joined: Wed 01 Nov 2006, 12:09
Location: UK

#18 Post by setecio »

Could you answer a few questions for me as I'll be trying to use CUPS 1.3.9 in NOP 4.13 and probably recycling old computers;

In the list you have CUPS, Gutenprint, HPLIP, PNM2PPA, SPLIX, FOO2ZJS
What are all these? Are they components of CUPS or alternatives to CUPS or are they all the inter-related components needed to make CUPS work ?

[EDIT] I've just hopped over to the HPLIP site and this reads as if it is an alternative to CUPS, is this true. If I had an HP printer would I use HPLIP instead of CUPS ?

To get CUPS to work is it sometimes as simple as finding the appropriate .ppd file and putting it in /usr/share/cups/model and then opening CUPS and adding the printer ?

Is this the basic way of getting CUPS to work, and only when this doesn't work do we head into problem solving issues ?

Where are the sites to find .ppd files
http://www.cups.org/ppd.php
anywhere else ?

Thanks.


User avatar
Patriot
Posts: 733
Joined: Thu 15 Jan 2009, 19:04

#20 Post by Patriot »

Hmmm .....

I have inadvertently uploaded CUPS-1.3.11 pet package with a broken installer script. I apologize to the 24 downloaders of the recent cups-1.3.11 package .....

The cause of the broken installer script was due to an extra 'curly bracket' left dangling within the script. This has been fixed, checked, double-checked and installation process re-tested. The correct CUPS-1.3.11 package have been uploaded.

Any inconveniences caused by this is regretted .....


Rgds

slmeyer
Posts: 1
Joined: Wed 11 Nov 2009, 13:17

Still getting - Permission denied error?

#21 Post by slmeyer »

I don't have lp in groups or users list, but I have this error.

Spool ls shows this:
-rw------- 1 root nobody 771 2009-11-11 12:53 c00001
-rw------- 1 root nobody 767 2009-11-11 12:53 c00002
-rw-r----- 1 root nobody 17353 2009-11-11 12:53 d00002-001
drwxrwx--T 2 root nobody 1024 2009-11-11 12:39 tmp

What else can it be :?:

User avatar
Patriot
Posts: 733
Joined: Thu 15 Jan 2009, 19:04

Re: Still getting - Permission denied error?

#22 Post by Patriot »

Hmmm .....
slmeyer wrote:........
What else can it be :?:
I have no idea .....

Details? Puppy version? Cups version? printer model? printer driver?


Rgds

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#23 Post by pemasu »

foo2xxx_r220909-0.0-i486.pet and HP Laserjet 1020 works fine. Built-in support for "hp-firmware-hotplug" mechanism really works. Much easier than HPLIP, hp-setup from console.
USB Hotplug folder with files and symlinks makes life easy.

With best regards

User avatar
Patriot
Posts: 733
Joined: Thu 15 Jan 2009, 19:04

#24 Post by Patriot »

Hmmm .....
pemasu wrote:foo2xxx_r220909-0.0-i486.pet and HP Laserjet 1020 works fine. Built-in support for "hp-firmware-hotplug" mechanism really works. ........
Thanks for the test report and confirmation. It is much appreciated ...


Rgds

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#25 Post by mikeb »

Ok installed cups 1.3.10 onto puppy 4.12.

Mostly ok but some problems.
It seems cups needs UTF-8 ...... not sure how this is related.
Running the canon ink monitor only works if locale is set to UTF-8 or C.
Whatever the setting I cannot get the printer to show up in the gnome print dialog... firefox and leafpad for example. Other apps are ok...eg epdfview and abiword and anything using lpr.

Any clues on this one..apparently the locale affects samba use.

mike

User avatar
Patriot
Posts: 733
Joined: Thu 15 Jan 2009, 19:04

#26 Post by Patriot »

Hmmm .....
mikeb wrote: .....
It seems cups needs UTF-8 ...... not sure how this is related.
Running the canon ink monitor only works if locale is set to UTF-8 or C.
........
Ok, Mike ... I'll try to duplicate this and see what crops up ...


Rgds

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#27 Post by mikeb »

cheers patriot.

Guess I'm not the only one...
http://www.murga-linux.com/puppy/viewto ... 302#371302

I suspect gnomeprint or something small and silly....same cups version and gtk on nimblex works ok and that is set to en_US ..no UTF-8 (Wireless works better on puppy so it's not all one way :D )

regards

mike

User avatar
Patriot
Posts: 733
Joined: Thu 15 Jan 2009, 19:04

#28 Post by Patriot »

Hmmm .....

I couldn't find anything there, Mike ... I have some screenshots taken ... I've tested on p412 k26217 and p421 k262516 ... both gives same output: printer is available for selection/options ...

The p421 was a pfix=ram with cups-1310 +dbus+ffox+canon-ip4600 driver ... The p412 was my one of my testbed, has cups-1311, gtk+2.12.12, dbus-1.2.12, dbus-glib-0.80, glib.2.20 and many many others I don't remember off-hand ... ffox-3.5.5 was tested, leafpad as-is, geany-0.18 .... Lang=en_US ...

I also tested most gtk apps with printing option and they all open the printer tab the same way ... (I'm unable to see the ink monitor tab since I don't have a real canon printer around ...) :wink:

Did I miss something to bork it properly ?


Rgds


Image Image Image

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#29 Post by mikeb »

Did I miss something to bork it properly
well I have this knack of confusing my own issues.

As mentioned a very similar setup on nimblex is fine and my puppy 4.12 setup is pretty standard as is apart from using xfce.....
...actually I just realised I included the gtk2 xinput update for firefox crashes and wacom tablet...I bet thats it...hmm there were 3 versions of that....the slaxer one might be the cure.....No good reverting to the original as it was too unstable......I bet the other person has the same update.

Well in a roundabout way I have a lead. Actually I could probably use the nimblex libraries :D ...pass me the duct tape.

regards

mike

ps this must be it...I tried an early compilation of gtk 2.10 once and guess what, the printing did not work either as the gnome print libraries were incomplete. Whoever builds these needs buying a printer :D

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#30 Post by mikeb »

Eureka...that was it
I dropped in /usr/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so from nimblex and the canon appeared in the list...jumped for joy and did a test print. :) ...I guess it was compiled against the older cups or some config that was particular about versions.

The print monitor still complains so I launch it with

Code: Select all

#!/bin/sh
export LANG=C
cngpijmonip4600 
and its happy.

regards

mike

dalderton
Posts: 177
Joined: Sun 22 Apr 2007, 08:33

#31 Post by dalderton »

Will any version of Cups work on SPUP 451 . I have tried a few versions and cannot get to the manager on Localhost:631, Tried the startups mentioned on Slackware sites still no go .I like the puppy version but it is no use if you cannot print.
Regards Dennis
I know just enough about this stuff to know how much I dont know.!!!!!!

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#32 Post by ttuuxxx »

dalderton wrote:Will any version of Cups work on SPUP 451 . I have tried a few versions and cannot get to the manager on Localhost:631, Tried the startups mentioned on Slackware sites still no go .I like the puppy version but it is no use if you cannot print.
Regards Dennis
I know just enough about this stuff to know how much I dont know.!!!!!!
cups is really just a bloated gui, the real workhorse is gutenprint, what you probably need is a updated version of guten print or some printer driver compiled for your pc, in some cases. You would probably be better to ask in the Spup forum thread just in case the developer overlooks this thread.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

dalderton
Posts: 177
Joined: Sun 22 Apr 2007, 08:33

#33 Post by dalderton »

Tuuxxx
Thanks for the reply, I posted on the Spup thread a couple of days ago but I think that "Plaguedogs has moved on .Also it does seem that Cups is a bit of a specialist game.I have had a look at Patriots Unix epistle and tried his modular version but the same problem occurs .Looking at the Slackware stuff it seems to have its own problems and maybe the combination of Puppy and Slackware and Cups is not so easy to operate.
Its all interesting stuff. I wish I understood it better.
Regards Dennis

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#34 Post by ttuuxxx »

dalderton wrote:Tuuxxx
Thanks for the reply, I posted on the Spup thread a couple of days ago but I think that "Plaguedogs has moved on .Also it does seem that Cups is a bit of a specialist game.I have had a look at Patriots Unix epistle and tried his modular version but the same problem occurs .Looking at the Slackware stuff it seems to have its own problems and maybe the combination of Puppy and Slackware and Cups is not so easy to operate.
Its all interesting stuff. I wish I understood it better.
Regards Dennis
whats the make and model of your printer and did your printer work on other puppies like 2.14X which has cups from 5 series I think I went with.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#35 Post by mikeb »

The older version might need localhost:631/admin or even your (machine ip):631/admin...version 1.1.13 that is....is cupsd running if you look at htop/top...not all puppies start cups automatically....
/etc/rc.d/rc.cups start
or
/etc/init.d/cups start

With the newer cups (1.3 like from this thread ) usually the interface comes up fine but it is more fussy when it comes to permissions.

mike

Post Reply