Python Forum
How do you marshal the default printer setup to print?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do you marshal the default printer setup to print?
#1
I have data in an app that I have put into a .txt file and print using:
os.startfile("--------.txt" , "print") #from a button in the app that executes this command
It works ok.
But why cant i call the devices printer setup to print this out- it has all the printer and page setups already available?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Trying to send file to printer with no results. chob_thomas 2 3,394 Dec-21-2022, 07:12 AM
Last Post: Pedroski55
  Can you print a string variable to printer hammer 2 1,963 Apr-30-2022, 11:48 PM
Last Post: hammer
  Install location setup new default Droidling 2 1,232 Apr-22-2022, 03:45 AM
Last Post: Droidling
  Printing to a printer connected to pi 4 alan 2 2,457 Oct-04-2020, 10:08 PM
Last Post: alan
  python-printer-escpos 0.0.3 ERROR neethuvp 1 3,720 Nov-12-2019, 12:20 PM
Last Post: Larz60+
  Is this possible in Python? Auto-Send-to-printer on script run? pcsailor 8 16,918 Jul-19-2019, 09:33 AM
Last Post: perfringo
  Bad marshal data (string ref out of range) error neodark 2 2,986 Apr-14-2019, 06:59 AM
Last Post: neodark
  Control a dot matrix printer Clement_2000 4 4,929 Jan-27-2019, 09:00 PM
Last Post: Clement_2000
  print a persian file by thermal printer and python-escpos mnodule gray 12 12,656 Nov-03-2017, 11:15 PM
Last Post: Larz60+
  printing a text file by python and thermal printer gray 6 20,662 Jul-30-2017, 05:56 AM
Last Post: buran

Forum Jump:

User Panel Messages

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