Skip to content

Introduction

RPI printer service is a service (daemon) that runs at startup on Raspberry PI and connects with our server to get print jobs and then sends them to the connected printer with cups.

  • service - daemon (a program that runs in the background)
  • startup - our main binary that runs at start
  • logger - our binary that sends logs to the server
  • printer - our binary that handles all printer stuff
  • destination - a printer that is connected to Raspberry PI
  • job - a print request sent to cups queue
  • cups - printing system in Linux
  • poppler - a system’s library for PDFs
  • builder - docker container that builds the binary and image
  • working directory - the directory where our software do all the file I/O. its in /opt/rpi-printer
  • repository - the directory where the repository is cloned
  • image-patcher - a tool that helps to update the config and binary in existing image