MikeWoodward
Posts: 10
Joined: Sat Feb 07, 2015 4:50 pm
Location: Doncaster, S Yorkshire

CUPS Printing

Mon Mar 02, 2015 9:14 pm

I have at last got my 2 Raspberry PI working (P1 & P2) with all the sofware working except CUPS printing.

I have configured CUPS to work with my Canon MX535 but nothing prints, CUPS just says its waiting for the printer to become available or the printer says its busy but nothing prints.

I then configured my old HP Deskjet 1660 to try & give me a clue on where to look. CUPS Admin page shows error Usr/lib/cups/filter/foomatic-rip failed.

I can't be sure that the HP printer is functional as I have not used it for a while but the Canon should be OK as its brand new.

I suspect that I have a driver problem with the Canon but can't find anywhere to download one & compiling a new one appears overly complicated.

Can anyone help me to get CUPS printing working with my MX535?

Mike

fruitoftheloom
Posts: 20694
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: CUPS Printing

Mon Mar 02, 2015 9:31 pm

MikeWoodward wrote:I have at last got my 2 Raspberry PI working (P1 & P2) with all the sofware working except CUPS printing.

I have configured CUPS to work with my Canon MX535 but nothing prints, CUPS just says its waiting for the printer to become available or the printer says its busy but nothing prints.

I then configured my old HP Deskjet 1660 to try & give me a clue on where to look. CUPS Admin page shows error Usr/lib/cups/filter/foomatic-rip failed.

I can't be sure that the HP printer is functional as I have not used it for a while but the Canon should be OK as its brand new.

I suspect that I have a driver problem with the Canon but can't find anywhere to download one & compiling a new one appears overly complicated.

Can anyone help me to get CUPS printing working with my MX535?

Mike
Raspbian OS ? Canon PIXMA MX535 ??

Code: Select all

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install foomatic-filters foomatic-db-engine
Though according to what I can find it may not be supported under ARMHF Linux....
Retired disgracefully.....

MikeWoodward
Posts: 10
Joined: Sat Feb 07, 2015 4:50 pm
Location: Doncaster, S Yorkshire

Re: CUPS Printing

Tue Mar 03, 2015 4:21 pm

sudo apt-get & dist-upgrade updated a number of packages including CUPS.

sudo apt-get install foomatic-filters foomatic-db-engine said it was already installed.

Tried CUPS test print again

Brief message said No profiles specified in PPD
Printer display indicated that it was busy with 'Please wait a while'

CUPS shows % progress ending with Finished printing page 1

Nothing printed.

Tested printer using a laptop which worked.

Assume No profiles in PPD is significant as CUPS cant format printing correctly that printer understands.

Anyone have any suggestions?

Mike

MikeWoodward
Posts: 10
Joined: Sat Feb 07, 2015 4:50 pm
Location: Doncaster, S Yorkshire

Re: CUPS Printing

Wed Mar 04, 2015 9:19 pm

No response to my previous post so need to step back a stage or 2.

Has anyone managed to print using CUPS?

Has anyone managed to print using CUPS with a Canon printer?

Love to get this working so I can document it, to help anyone else who wants to print.

Mike

User avatar
DougieLawson
Posts: 36105
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: CUPS Printing

Wed Mar 04, 2015 9:25 pm

MikeWoodward wrote: Has anyone managed to print using CUPS?
Yes.
MikeWoodward wrote: Has anyone managed to print using CUPS with a Canon printer?
No. But, my ten year old HP printer works just fine.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

User avatar
buja
Posts: 498
Joined: Wed Dec 31, 2014 8:21 am
Location: Netherlands

Re: CUPS Printing

Wed Mar 04, 2015 9:44 pm

I installed CUPS last week and it works just fine with a Samsung printer (connected to a PC).

My guess would be you just don't have the right printer driver.
Maybe this is something: http://www.canon-europe.com/support/con ... mx535.aspx

fruitoftheloom
Posts: 20694
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: CUPS Printing

Wed Mar 04, 2015 10:15 pm

buja wrote:I installed CUPS last week and it works just fine with a Samsung printer (connected to a PC).

My guess would be you just don't have the right printer driver.
Maybe this is something: http://www.canon-europe.com/support/con ... mx535.aspx
Thos drivers are for Linux x86-32 & x86-64 afaiaa
Retired disgracefully.....

hedbert
Posts: 2
Joined: Tue Mar 03, 2015 2:33 pm

Re: CUPS Printing

Thu Mar 05, 2015 2:46 pm

fruitoftheloom wrote:
buja wrote:I installed CUPS last week and it works just fine with a Samsung printer (connected to a PC).

My guess would be you just don't have the right printer driver.
Maybe this is something: http://www.canon-europe.com/support/con ... mx535.aspx
Thos drivers are for Linux x86-32 & x86-64 afaiaa
I seem to have the same issue with my Canon imageCLASS D1170. Canon offers x86 and amd64 drivers so they don't run on my Pi.

All About Code
Posts: 4
Joined: Thu Mar 05, 2015 4:44 pm

Re: CUPS Printing

Thu Mar 05, 2015 4:56 pm

Try This

Step 1: Open LX Terminal

Code: Select all

sudo apt-get install cups
After it has installed

Code: Select all

sudo usermod -a -G lpadmin pi
Now open a Web Browser on your pi and enter the web address

http://127.0.0.1:631

Step 5: Click on the Administaration and select Add a Printer

If it asks for Username and Password its your usual login for start up

Step 6: Select Your Printer

Step 7: Set location to the room your printer is in

Step 8: Click Add Printer

Step 9: Click Set Default Settings

You should now be able to print via a USB
All About Code
[code]allaboutcode.wix.com/home[/code]
[code]@all_about_code[/code]

fruitoftheloom
Posts: 20694
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: CUPS Printing

Thu Mar 05, 2015 6:49 pm

All About Code wrote:Try This

Step 1: Open LX Terminal

Code: Select all

sudo apt-get install cups
After it has installed

Code: Select all

sudo usermod -a -G lpadmin pi
Now open a Web Browser on your pi and enter the web address

http://127.0.0.1:631

Step 5: Click on the Administaration and select Add a Printer

If it asks for Username and Password its your usual login for start up

Step 6: Select Your Printer

Step 7: Set location to the room your printer is in

Step 8: Click Add Printer

Step 9: Click Set Default Settings

You should now be able to print via a USB
Very good BUT not all printers are supported as is the issue above, not installing CUPS

By the way did you rewrite this old howto ?

http://www.penguintutor.com/linux/printing-cups
Retired disgracefully.....

MikeWoodward
Posts: 10
Joined: Sat Feb 07, 2015 4:50 pm
Location: Doncaster, S Yorkshire

Re: CUPS Printing

Fri Mar 06, 2015 9:28 am

Thanks for every ones help, My HP printer is now working after going thru all the available drivers until one worked.

I have given up trying to get my Canon printer working as they provide minimal support for Linux, quite the opposite to HP.

I think I have documented what I did, I will test it by using it to install the HP printer on my Pi 2.

Is there anywhere on the forum to put information like this?

Are there any plans to structure the forum as the topics appear to be all lumped together?

Mike

User avatar
DougieLawson
Posts: 36105
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: CUPS Printing

Fri Mar 06, 2015 9:47 am

MikeWoodward wrote: Is there anywhere on the forum to put information like this?
The usual way is to write things up on a blog and post a link on a forum thread.

But, it's probably not needed. There's plenty of "How to set-up CUPS" documents that are already published. Including 4 pages in the Xmas 2014 MagPi special edition http://themagpi.com
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Fuz
Posts: 6
Joined: Tue Mar 04, 2014 1:13 am

Re: CUPS Printing

Mon Mar 09, 2015 5:38 am

Re: MikeWoodward, Mar 2

I did succeed in printing with CUPS with my old Cannon MP210 All-in-One printer. CUPS did find and install it. Being a Linux NOOB myself, I wanted to print a command list pasted from the Debian manual..

LeafPad gave A4 as the only paper size available, and printed 1/4 size. (very small!). Libre Write gave mostly metric options; no 'Letter' size, but the A4 print did fit on 8 1/2 x 11.

This was on my RPi- B, using Raspian 12/24/14. I'm leery of using update, from what I've read concerning the Pi-2.

Perhaps the MP210 driver, or another later Cannon driver would work for you. I have no idea however, which printers those might be.

Regards.

AntonAV
Posts: 79
Joined: Thu Jan 12, 2017 2:00 pm
Location: Rural South India

Re: CUPS Printing

Tue Feb 14, 2017 11:37 am

MikeWoodward wrote:My HP printer is now working after going thru all the available drivers until one worked.

Are there any plans to structure the forum as the topics appear to be all lumped together?
Mike
I did the same for our Epson M200 inktank printer: CUPS was fine but no M200 driver available (for ARM). Then I tried all other EPSON drivers displayed one by one and two worked (slow printing though). By the way, ink tank printing is 2300% cheaper than laser printing with toner here, for the same number of pages.

Lumping topics together on this forum: yes please.

Return to “Troubleshooting”