LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-14-2010, 04:06 AM   #1
felixk
Member
 
Registered: Jul 2008
Posts: 60

Rep: Reputation: 15
Canon BJC-4310SP won't print!


I have been given an old Canon BJC-4310SP printer.

Performing the "built-in" test print works perfectly.

Using the standard CUPS installation procedure (in Debian Lenny) also worked without a hitch. The new printer was correctly identified, CUPS suggested the appropriate driver and then installed and configured the printer as directed.

So far, so good.

But asking CUPS to print its test page crashed with the following message:

"Unable to open parallel port device file: Permission denied"

Any advice that will enable me to decipher this error message will be gratefully received.

felixk
 
Old 01-15-2010, 07:18 PM   #2
amenditman
Member
 
Registered: Apr 2008
Location: Valley of Gold
Distribution: Arch / Mepis
Posts: 58

Rep: Reputation: 16
Printer permission

I suggest you investigate which user 'owns' the printer and which group has permission to use it.

Sounds like it might just be a case of your user needing permission to access the device.

If you can't get it to work, the gurus here will want to know what distro/version you are running at the very least.

Bob
 
Old 01-15-2010, 09:58 PM   #3
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
@amenditman that'll be Debian Lenny 5.0.3

@felixk - I have you in my sights, but I am rather busy typing up a report due yesterday, I presume that you had to run CUPS as root or did you use the web/browser interface. I am running kde, so you will have to let me know if you are running gnome or some other desktop manager.

Can I presume that you have your cups daemon running. The output of:

ps aux | grep cups

would let you know

Then we need to know if your 'ppdev' module is loaded> Run:
 
Old 01-16-2010, 12:15 AM   #4
felixk
Member
 
Registered: Jul 2008
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by minrich View Post
@amenditman that'll be Debian Lenny 5.0.3

@felixk - I have you in my sights, but I am rather busy typing up a report due yesterday, I presume that you had to run CUPS as root or did you use the web/browser interface. I am running kde, so you will have to let me know if you are running gnome or some other desktop manager.

Can I presume that you have your cups daemon running. The output of:

ps aux | grep cups

would let you know

Then we need to know if your 'ppdev' module is loaded> Run:
Thank you for taking the time to post the above comment - especially when you have real work on your hands.

I also sent my query to our local Linux Users Group, and scored the following comment (edited):
| Felix, there are a *lot* of hits on Google for this CUPS error. So
| many in fact, that I couldn't find the One True Answer after reading
| half a dozen of them.
So the short story is:

It is a CUPS bug - not fixed, despite the fact that it has been around for a long time.

The printer (almost as aged as I am) works OK in a Windows environment. It is probably a lost cause under Linux. And Canon offers no support to Linux users.

felixk
 
Old 01-16-2010, 06:50 AM   #5
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
Have you checked out this page:

http://www.openprinting.org/show_pri...non-BJC-4310SP

and have you tried the suggested driver/PPD file?

I have always found the info on openprinting.org (which used to be linuxprinting.org) to be reliable, and the bjc-600 driver works fine for my BJC-85. Don't blame me for the rude User Notes!

Cheers
 
Old 01-16-2010, 07:29 AM   #6
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

Rep: Reputation: 51
Quote:
"Unable to open parallel port device file: Permission denied"
Seems your printer is on LPT port. Look at the output of
Code:
ls -l /dev/lp*
On my system it's like this:
Quote:
crw-rw---- 1 root lp 6, 0 2010-01-14 17:03 /dev/lp0
You can see "root lp" part of output. This means that to access this device you have to either be root, or be a member of "lp" group. Group name on your system may be different. Adding yourself to corresponding group should fix the problem after you relogin having done this..
 
Old 01-17-2010, 04:53 AM   #7
felixk
Member
 
Registered: Jul 2008
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by minrich View Post
Have you checked out this page:

http://www.openprinting.org/show_pri...non-BJC-4310SP

and have you tried the suggested driver/PPD file?

Cheers
That was where I started on my quest.

But there have been further discoveries, since my last posting (which flagged the possibility of a long-standing CUPS bug).

I normally use the latest stable version of Debian for all my computing activities. However, I also have "Puppy Linux" installed on a spare HD partition.

Out of curiosity, I tried installing the non-operational Canon BJC-4310SP printer in Puppy Linux. It installed and worked first try without a hitch.

Cold comfort, since I am not <ready|willing> to abandon Debian.

In answer to the posting from 10110111, my entry for /dev/lp0 is identical to yours:

crw-rw---- 1 root lp 6, 0 2010-01-17 19:27 /dev/lp0

felixk
 
Old 01-17-2010, 12:46 PM   #8
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

Rep: Reputation: 51
See if you are in lp group:
Code:
grep lp /etc/group
This is my entry:
Quote:
lp:x:9:ruslan
If you don't have your name in the list after last ':', you should add it there (names are separated by commas) and relogin. Other way is to use usermod command, but its effect is the same.
 
Old 01-18-2010, 04:19 AM   #9
felixk
Member
 
Registered: Jul 2008
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by 10110111 View Post
See if you are in lp group:
Code:
grep lp /etc/group
Yes; I am.

The problem is not at my end.

As mentioned in my previous post, it appears to be either a CUPS bug or a Debian Lenny compatibility problem. I have got the printer to work in "Puppy Linux"; and I have now been advised by a member of the local Linux Users Group that he has installed successfully the printer in both openSUSE11.1 and in Ubuntu 9.04 environments.

Thank you for trying to help.

felixk
 
  


Reply

Tags
printer



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
Canon bjc-2000 linmix Linux - Hardware 21 01-10-2006 10:22 AM
canon bjc printer on slackware 10.0 hunterfighter Slackware 4 10-23-2004 02:09 AM
Canon BJC 3000 as a scanner diego1967 Linux - Hardware 0 05-22-2004 01:02 PM
Canon BJC-1000 boreo Linux - Hardware 4 02-22-2003 08:10 PM
canon bjc-80 printing problem wilcsnyder Linux - Newbie 0 12-22-2001 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:19 PM.

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