Python Forum
Is this possible in Python? Auto-Send-to-printer on script run?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is this possible in Python? Auto-Send-to-printer on script run?
#4
Hi Buran,

I read through those two SO posts before posting here. Thanks though for them. That's how I learned about the OS-print method.

Unfortunately LibreOffice isn't an option. I making this for the lowest common denominator co-worker and I basically need this Python script to be an icon on the desktop, double-click, and print to the default printer. That's the ideal I'm after anyway.

I have the SS complete, 11 worksheets within one SS file.
If I have the SS open, I can click the left-most worksheet, hold the shift key down, and click the right-most SS, thereby selecting all worksheets.
Then by printing (Ctrl-P & Enter), I will print all worksheets in the SS.

It is possible to do this by implementing a coded software solution?

Thanks,
Phil
Reply


Messages In This Thread
RE: Is this possible in Python? Auto-Send-to-printer on script run? - by pcsailor - Nov-06-2018, 03:27 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a *.bat DOS batch script to *.py Python Script converter? pstein 3 3,452 Jun-29-2023, 11:57 AM
Last Post: gologica
  Trying to send file to printer with no results. chob_thomas 2 3,450 Dec-21-2022, 07:12 AM
Last Post: Pedroski55
  How do you marshal the default printer setup to print? hammer 0 1,304 May-29-2022, 02:54 PM
Last Post: hammer
  Can you print a string variable to printer hammer 2 2,008 Apr-30-2022, 11:48 PM
Last Post: hammer
  Need Outlook send email code using python srikanthpython 3 8,394 Feb-28-2021, 01:53 PM
Last Post: asyswow64
  Auto re-pair / re-sync Controller via Script? User3000 2 2,384 Nov-30-2020, 11:42 AM
Last Post: User3000
  Printing to a printer connected to pi 4 alan 2 2,513 Oct-04-2020, 10:08 PM
Last Post: alan
  How to send email using python? Gigux 2 2,905 Jul-04-2020, 07:53 AM
Last Post: Gigux
  I am trying to send an email with python nick235 9 5,436 Jun-29-2020, 06:40 PM
Last Post: nick235
  How to kill a bash script running as root from a python script? jc_lafleur 4 6,003 Jun-26-2020, 10:50 PM
Last Post: jc_lafleur

Forum Jump:

User Panel Messages

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