LinuxQuestions.org
Visit Jeremy's Blog.
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 05-07-2012, 03:39 AM   #1
sam845
Member
 
Registered: Mar 2012
Posts: 55

Rep: Reputation: Disabled
linux printer issue


hello,

I'm using ubuntu 12.04 and I'm having trouble to print a document with a printer on the network. I added a Canon Canon LBP6300 CAPT (JP) to the list of printers that I can access through its IP address. I think the correct drivers have also been correctly installed, from the canon website.
The error returned from the printer is 'Idle - File "/usr/lib/cups/filter/pstocapt3" not available: No such file or directory'

How can I fix that ?

Thanks
 
Old 05-07-2012, 04:35 AM   #2
Slackyman
Member
 
Registered: Mar 2011
Location: Rome - Italy
Distribution: Slackware 13.1
Posts: 347

Rep: Reputation: 44
Your driver is the one from the Canon site or the one from Ubuntu?
I asked since the package from canon has the /usr/lib/cups/filter/pstocapt3 file.

Last edited by Slackyman; 05-07-2012 at 04:36 AM.
 
Old 05-07-2012, 04:54 AM   #3
sam845
Member
 
Registered: Mar 2012
Posts: 55

Original Poster
Rep: Reputation: Disabled
I tried both, but none worked. I wonder if that path is from my computer or is in the printer itself ?
 
Old 05-07-2012, 04:56 AM   #4
Slackyman
Member
 
Registered: Mar 2011
Location: Rome - Italy
Distribution: Slackware 13.1
Posts: 347

Rep: Reputation: 44
I downloaded THESE DRIVERS that seems to have the file. Surely it's not a file from the printer!
 
Old 05-07-2012, 05:54 AM   #5
sam845
Member
 
Registered: Mar 2012
Posts: 55

Original Poster
Rep: Reputation: Disabled
These are actually the ones I downloaded. But maybe I didn't install them correctly ? I uncompressed them, and then used the '64 bit' directory, and then used 'alien *.rpm' followed by 'sudo dpkg -i cndrvcups-capt_2.20-2_amd64.deb cndrvcups-common_2.20-2_amd64.deb'. But it still says the same error message.
 
Old 05-07-2012, 06:48 AM   #6
Slackyman
Member
 
Registered: Mar 2011
Location: Rome - Italy
Distribution: Slackware 13.1
Posts: 347

Rep: Reputation: 44
The 64bit version has no /usr/lib/cups/filter/pstocapt3 file but has /usr/lib64/cups/filter/pstocapt3.
Try symlinking to lib with
Code:
ln -s /usr/lib64/cups/filter/pstocapt3 /usr/lib/cups/filter/pstocapt3.
Maybe you'll have to do the same for pstocapt and pstocapt2.

Last edited by Slackyman; 05-07-2012 at 06:50 AM.
 
Old 05-07-2012, 07:21 AM   #7
sam845
Member
 
Registered: Mar 2012
Posts: 55

Original Poster
Rep: Reputation: Disabled
Oh yes you're right, thanks. Now the error disappeared, and it says instead 'ready to print'. And when I try to print something, it says 'sent to the printer'. What is weird though is that the printer still doesn't print anything... What could cause that ? The network is not mine, neither the printer. is it possible that there's a firewall or an access list or something that prevents me from printing ?
 
Old 05-07-2012, 07:31 AM   #8
Slackyman
Member
 
Registered: Mar 2011
Location: Rome - Italy
Distribution: Slackware 13.1
Posts: 347

Rep: Reputation: 44
Delete all jobs for the printer with lprm command:
Code:
lprm -p printername
then check if the printer is enabled with lpq command.
If the printer queue is disabled, enable it with
Code:
cupsenable printername
Try to send another print job after jobs deletion.
 
Old 05-07-2012, 07:56 AM   #9
sam845
Member
 
Registered: Mar 2012
Posts: 55

Original Poster
Rep: Reputation: Disabled
The -p option apparently doesn't exist. I tried just lprm, given that I only have one printer setup, and the output is:
>lprm
lprm: No active jobs on Canon-LBP6300-CAPT.
cupsenable doesn't produce any output.
I tried resending, and it still doesn't print anything, although the printer says 'ready'.
 
Old 05-07-2012, 07:59 AM   #10
Slackyman
Member
 
Registered: Mar 2011
Location: Rome - Italy
Distribution: Slackware 13.1
Posts: 347

Rep: Reputation: 44
Quote:
Originally Posted by sam845 View Post
The -p option apparently doesn't exist. I tried just lprm, given that I only have one printer setup, and the output is:
>lprm
lprm: No active jobs on Canon-LBP6300-CAPT.
cupsenable doesn't produce any output.
I tried resending, and it still doesn't print anything, although the printer says 'ready'.
Sorry: the P is uppercase!
It can be a network problem or any other kind of issue. Any other clue of what's happening?
Can you ping the IP address of the printer?
 
Old 05-07-2012, 08:15 AM   #11
sam845
Member
 
Registered: Mar 2012
Posts: 55

Original Poster
Rep: Reputation: Disabled
No, not a clue . This time, there's no error message.
yes I can ping it.
 
Old 05-07-2012, 08:38 AM   #12
Slackyman
Member
 
Registered: Mar 2011
Location: Rome - Italy
Distribution: Slackware 13.1
Posts: 347

Rep: Reputation: 44
Can you describe how you installed the printer?
All the steps, please.
 
Old 05-07-2012, 10:48 AM   #13
sam845
Member
 
Registered: Mar 2012
Posts: 55

Original Poster
Rep: Reputation: Disabled
I typed 'print' in the dash home and selected 'printing'. I then clicked on 'add' then selected 'network printer' and 'find printer', and I typed the IP of the printer in the host field, and clicked on 'find'. It found it (on port 9100). Then I pressed next, a popup saying it was searching available drivers appeared, and then closed. I clicked finished. Voila. Except that it's not working... There's no error message when I ask the printer to print something, it is correctly added to the queue, but from the printer side, nothing happens. I checked that I can ping the printer, that its port 9100 is opened, and that there is no error on the printer screen, saying something like paper or ink missing.
 
Old 05-07-2012, 11:05 AM   #14
Slackyman
Member
 
Registered: Mar 2011
Location: Rome - Italy
Distribution: Slackware 13.1
Posts: 347

Rep: Reputation: 44
Ok. Perfect job, but still not working printer!
What if you run
echo 1 > file.txt && lpr file.txt

?
 
Old 05-07-2012, 11:48 AM   #15
sam845
Member
 
Registered: Mar 2012
Posts: 55

Original Poster
Rep: Reputation: Disabled
it produces no output, and nothing is printed .
 
  


Reply



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
Printer issue ashraflinux1@gmail.com Linux - Server 1 11-11-2009 07:01 AM
windows connectting to linux w/printer issue cjokinen Linux - Software 1 03-07-2006 08:46 AM
Virtual Printer / CUPS-PDF Printer Issue in SuSE 10 jlstratton42 SUSE / openSUSE 0 12-21-2005 11:04 AM
Linux networking printer issue bnumark Linux - Hardware 0 07-02-2003 02:55 AM

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

All times are GMT -5. The time now is 12:10 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