Remote printing: Debian and Google Cloud Print

Remote printing: Debian and Google Cloud Print

(8 votes, average: 4.75 out of 5)

Have you ever heard of google cloud print? It allows you to add your printers to the cloud and share them. You can print on them from any device supporting this service, even if you are on another network. This sounds pretty cool, I gave it a try and I am really amazed.

None of my printers doesn’t support cloud print directly, so I need a google chrome installation to share the printer. But I don’t want to have my computer to run when printing remotely. There is a project called Google CloudPrint on Linux which allows you to use this nice service from the command line. At this point the dockstar or the linkstation joines the game.

To use your debian server as a printserver for cloud print, you need to configure your printer correctly. You will need cups. Here you can find everything needed to set it up: Debian as Printserver and Scanserver with HPLIP, CUPS, SANE

Now lets install cloudprint:

To manage startup, create the init-script /etc/init.d/cloudprint with following contents:
Make sure to set USER to the user you want cloudprint is ran as.

Make it executable, create the path for the pidfile and start it on startup:

You now should be able to run a test:

Enter the username and password of the google account you want to use when prompted. If everything is done you should see the printer at
If you now hit CTRL+P in chrome and select cloud print, a print job should be created and your printer will start printing.

Check this for other clients to print in a cloud:
I have tested the android app Cloud Print BETA and my job has been printed flawlessly!