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 run lpr from the windows command prompt but not from
> python(2.7)

Does lpr.exe actually physically exist in c:\windows\system32 as you
have indicated in the your earlier posts? I.e. if you actually browse
system32 with the file manager will you see lpr.exe? 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.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to