CloudPrint.Cron

Instructions for adding a CloudPrint Printer to Linux as a local printer.
———————————-

su - #or sudo su -
git clone git://github.com/armooo/cloudprint

cd cloudprint
./cloudprint.py

nano /etc/init.d/cloudprint #again, *or* /etc/rc.d/cloudprint

#!/bin/bash
# /etc/rc.d/cloudprint
# Description: Starts the Google Cloud Print script on startup
# ----------------
#
### BEGIN INIT INFO
# Provides: Cloud-Print
# Required-Start: $cups $network $local_fs $syslog
# Required-Stop: $local_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Description: Start Google Cloud Print
### END INIT INFO

case $1 in
start)
# echo -n “Starting Google Cloud Print: ”
/root/cloudprint/cloudprint.py
;;
stop)
# echo -n “Stopping Google Cloud Print: ”
killall cloudprint.py
;;
restart)
# echo -n “Restarting Google Cloud Print: ”
killall cloudprint.py
/root/cloudprint/cloudprint.py
;;
# echo “Usage: cloudprint {start|stop|restart}”
esac

chmod +x cloudprint
—————–

Script to get Google Calendar entries:
gcalcgi

Gcalcli unicode issues fix.

—————
syntax:
gcalcli --https --nc --user blagh --pw blargh2 agenda > text.txt
mail printer@hpeprint.com < text.txt

One Response to CloudPrint.Cron

  1. Pingback: Zinger.Org » Blog Archive » Google cloud print and geriatric living

Leave a Reply