Raspberry Pi Cloud Print
Raspberry Pi Cloud Printer is a cloud print platform based on web.py which runs on Raspberry Pi, a tiny linux computer(based on CloudPrint). In addition, any device can submit print job to RPCP.
About Raspberry Pi Cloud Printer
Raspberry Pi Cloud Printer is a cloud print platform based on web.py which runs on Raspberry Pi, a tiny linux computer(based on CloudPrint). In addition, any device can submit print job to RPCP.
Hardware
- A Raspberry Pi 3
- A printer
- A network wire or network card
- Power supply for Pi and printer
Prerequisites
- Installed CUPS
- Installed driver for printer
- Installed python3
- Configured network card
- Downloaded this git repository
Procedure
- Users visit
printerip:8080/upload
- After receiving the file, the lcd will display the name of the file and current printjob amount.
- Raspberry will save the file and use Linux printer command,
lp
, to print the file. Server will automatically delete the uploaded file.
apt-get install cups
apt-get install hplip (For HP printer)
git clone https://github.com/William-An/RaspCloudPrint.git
OR
wget https://github.com/William-An/RaspCloudPrint/archive/master.zip
// For HP: some HP printers demand HP-Plugin, you can download from http://hplip.sourceforge.net/plugin.conf
// For adding printers: you need to modify /etc/cups/cupsd.conf so that you can access the control menu through http
How to run
cd <git repo dir> && sudo python3 server.py 80
Procedure
- User will visit
printerip/upload
to print file - Server will save the file it gets and use
lp
to print this file - The file will be delete and user will be redirected to index
- If error happens, user will be redirected to error page and can access
printerip/log
for view or download print log
Future
- Add support for more format; currently(v1.0), RPCP only support pdf
- Add more options when printing; allow users to configure their printing; currently(v1.0), RPCP can only print by default
- Add an 1602A LCD screen to show current print job attributes
Error
If there are bugs, please post them on issues section or contact through my email: [ChinaAisa@live.com](mailto:ChinaAisa@live.com)
Acknowledge
Flaticon -> Tab icon web.py -> Server framework html5up -> HTML Template
Contact
E-Mail: [ChinaAisa@live.com](mailto:ChinaAisa@live.com) Github: William-An TheXYZLab: Official Site | Github Organization
2017/05/30 v1.0