Python Forum
Printing to a printer connected to pi 4
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Printing to a printer connected to pi 4
#1
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
Reply
#2
As a first idea, your python program could invoke linux' lpr command to send a file to the printer.
Reply
#3
Thanks I'll look that up. BTW, on this forum can I set it to notify me when a post is received?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to check if Skype call is connected or disconnected in Python? boral 1 399 Dec-28-2023, 08:31 AM
Last Post: buran
  Trying to send file to printer with no results. chob_thomas 2 3,380 Dec-21-2022, 07:12 AM
Last Post: Pedroski55
  When is stdin not connected to a tty, but can still be used interactively? stevendaprano 1 1,011 Sep-24-2022, 05:06 PM
Last Post: Gribouillis
  How do you marshal the default printer setup to print? hammer 0 1,281 May-29-2022, 02:54 PM
Last Post: hammer
  Can you print a string variable to printer hammer 2 1,949 Apr-30-2022, 11:48 PM
Last Post: hammer
  python-printer-escpos 0.0.3 ERROR neethuvp 1 3,693 Nov-12-2019, 12:20 PM
Last Post: Larz60+
  Is this possible in Python? Auto-Send-to-printer on script run? pcsailor 8 16,879 Jul-19-2019, 09:33 AM
Last Post: perfringo
  Control a dot matrix printer Clement_2000 4 4,901 Jan-27-2019, 09:00 PM
Last Post: Clement_2000
  How to detect wireless modem connected serially to my laptop in python barry76 3 3,552 Jan-08-2019, 06:18 AM
Last Post: Gribouillis
  Arduino Uno connected to PI 0 W - Sensor Data MQTT runboy 4 3,069 Nov-07-2018, 03:55 AM
Last Post: runboy

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020