Python Forum

Full Version: Printing to a printer connected to pi 4
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello all
I am a total newbie but with a background in BASIC, QBasic, MMBasic and Vb6. I am about to take delivery of a Raspberry Pi 4. I am intending to set up a headless print server using Python to receive serial files via the USB connection (from a CMM2) and print to a network lineprinter. I am aware of how to set up access to the printer with CUPS, but not much else. Suggestions would be welcome.

Confused
As a first idea, your python program could invoke linux' lpr command to send a file to the printer.
Thanks I'll look that up. BTW, on this forum can I set it to notify me when a post is received?