Re: Connect to Default Printer

2016-03-24 Thread Terry Reedy
On 3/23/2016 8:39 PM, Bryon Fawcett wrote: Could you please advise me how to connect the python software to my default printer. IDLE prints to default printer with function print_window in idlelib/IOBinding.py. The two GetOption calls return these two strings (from config-main.def). For p

Re: Connect to Default Printer

2016-03-24 Thread Grant Edwards
On 2016-03-24, Bryon Fawcett wrote: > Could you please advise me how to connect the python software to my default > printer. import os os.popen("lpr","w").write("Hi there, this just got printed!\r\n") -- Grant -- https://mail.python.org/mailman/listinfo/python-list

Connect to Default Printer

2016-03-23 Thread Bryon Fawcett
Good afternoon. Could you please advise me how to connect the python software to my default printer. Regards, Bryon Fawcett. -- https://mail.python.org/mailman/listinfo/python-list