Re: Can't run lpr from python on windows 2012 server

2016-04-22 Thread eryk sun
On Fri, Apr 22, 2016 at 9:26 AM, Random832 wrote: > The problem with your question is that it's not a standard command, so none > of the rest of us have it, which means we're half-blind trying to find your > problem. lpr is a Windows feature that you may be able to enable. It's under "Print and

Re: Can't run lpr from python on windows 2012 server

2016-04-22 Thread Random832
On Fri, Apr 22, 2016, at 11:06, loial wrote: > Yes it does. I finally found the solution here : > > http://www.tomshardware.co.uk/forum/240019-44-error-windows > > Copied lpr.exe, lprhelp.dll, and lprmonui.dll from the System32 folder to > the sysWOW64 folder A better solution might be to instal

Re: Can't run lpr from python on windows 2012 server

2016-04-22 Thread loial
Yes it does. I finally found the solution here : http://www.tomshardware.co.uk/forum/240019-44-error-windows Copied lpr.exe, lprhelp.dll, and lprmonui.dll from the System32 folder to the sysWOW64 folder On Friday, April 22, 2016 at 3:27:18 PM UTC+1, Random832 wrote: > On Fri, Apr 22, 2016, a

Re: Can't run lpr from python on windows 2012 server

2016-04-22 Thread Random832
On Fri, Apr 22, 2016, at 10:15, loial wrote: > I am reposting this question in a simpler form. > > I can run lpr from the command prompt but not from python > > os.system("notepad") works > os.system("lpr") does not work. Basically it says lpr is not a known > program or executable > > Why can I

Can't run lpr from python on windows 2012 server

2016-04-22 Thread loial
I am reposting this question in a simpler form. I can run lpr from the command prompt but not from python os.system("notepad") works os.system("lpr") does not work. Basically it says lpr is not a known program or executable Why can I run lpr from the windows command prompt but not from python(2