Common UNIX Printing System (CUPS) v1.3.11

Problems and successes with specific brands/models of printers
Message
Author
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

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

#36 Post by dalderton »

Thanks again for the replies.My printer is HP5550 usb printer and I have had no problems with using it on any Puppy version in the last year or two until I tried Spup . Even Gutenprint drivers are working at a respectable speed these days.I have tried the various cups start codes from these threads and also Slackware printing info without success Interestingly the process does not get to the normal Purple Box that when clicked leads to the Cups screen at http://localhost:631/ Very strange business. Also for some reason the ePDF viewer does not work on Spup. Still a work in progress I think. Dpup is OK ,most things work alright but it suffers from periodic freeze ups which require rebooting twice to get it going again.A bit of a pain in the bum.
Ah well,back to the stock model for a while and monitor developments.
regards Dennis

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

#37 Post by ttuuxxx »

maybe try
http://distro.ibiblio.org/pub/linux/dis ... 1-pup4.pet
http://distro.ibiblio.org/pub/linux/dis ... 1-pup4.pet
http://distro.ibiblio.org/pub/linux/dis ... ps1123.pet

when testing things like this you should first boot up puppy with
puppy pfix=ram
so you don't mess up your current settings
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

#38 Post by dalderton »

Tuuxxx
I will have a look at those.I dont use puppy from the CD.I have several hard disks in trays and swap them around. The one I am on now has a 4.3.1 standard pup 2* dpups and currently 1 spup. I use opera on all of them so I can move the profile folder between partitions and all other stuff in a Stuff Folder that I can shift easily as well. It is so easy to install Puppy that I do it rather than using the frugal option.One of the partitions always has stuff that I want to hold on to and the others are to play with.
Strangely I put one of your Puppy versions on an hour or so ago with your modified Cups setup and it would not see the HP5550. Odd .
Incidentally for ebook downloads on Adobe Digital Editions I had to install Windows XP on one of my Hard Disks and had forgotten what a pain it is.I took over an hour to get it done.YUK! Waste of Disk space but I could not get ADE to work on Linux.
Regards Dennis.

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

#39 Post by ttuuxxx »

dalderton wrote:Tuuxxx
I will have a look at those.I dont use puppy from the CD.I have several hard disks in trays and swap them around. The one I am on now has a 4.3.1 standard pup 2* dpups and currently 1 spup. I use opera on all of them so I can move the profile folder between partitions and all other stuff in a Stuff Folder that I can shift easily as well. It is so easy to install Puppy that I do it rather than using the frugal option.One of the partitions always has stuff that I want to hold on to and the others are to play with.
Strangely I put one of your Puppy versions on an hour or so ago with your modified Cups setup and it would not see the HP5550. Odd .
Incidentally for ebook downloads on Adobe Digital Editions I had to install Windows XP on one of my Hard Disks and had forgotten what a pain it is.I took over an hour to get it done.YUK! Waste of Disk space but I could not get ADE to work on Linux.
Regards Dennis.
Here's a tip for next time you want ADE Ubuntu/linux way, should also work on puppy :)
http://ubuntuforums.org/showthread.php?t=701191
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
Patriot
Posts: 733
Joined: Thu 15 Jan 2009, 19:04

#40 Post by Patriot »

Hmmm .....
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, .....
Only did a brief peek at spup451 ... cups is in there and I believe it's a slax's cups-1.3.9 ... the web docs are probably not installed along with several cups utils ... but it should still be working from cli ...

To have web gui access, you'll need the web docs ... get it below (or strip it from the cups-1.3.9 pet) ... btw, the reason why cups pets on this thread doesn't seem to work on spup is due to the missing unzip util in spup (only needed during installs) ... It has zip but no unzip .....


Rgds

Post Reply