On Fri, Apr 22, 2016 at 10:07 AM, loial wrote:
> 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
Using the virtual "SysNative" directory should
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
Thanks for all your efforts
--
https://mail.python.org/mailman/listinfo/python-list
Nothing seems to work.
Even doing
import os
os.system("lpr")
still returns
'lpr' is not recognized as an internal or external command,operable program or
batch file.
Even though I can run lpr fine from the command prompt
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, Apr 20, 2016 at 9:58 AM, Tim Golden wrote:
> If it's not, then try copying the lpr.exe to c:\windows\syswow64 and try
> again. (Or to some other place to which you have access).
WOW64 in Windows 7+ has a virtual "SysNative" directory that accesses
the native 64-bit system directory:
On Wed, Apr 20, 2016, at 06:57 AM, loial wrote:
> process = subprocess.Popen(commandline, shell=True,
> stdout=subprocess.PIPE, stderr=subprocess.PIPE)
>
> where command line is
> C:/windows/system32/lpr.exe -S 172.28.84.38 -P RAW C:/john/myfile
Try making command line:
commandline = r"C:\windows
On 20/04/2016 15:21, loial wrote:
> As I said, the lpr command works fine from the command prompt but not from
> python.
Sorry; I did miss that.
> Everything is 64-bit (windows server 2012).
>
Is the Python installation also 64-bit?
c:\python27\python.exe -c "import platform; print platform.a
I get the same issue if I just specify "lpr" rather than a full path, i.e. it
works from the command prompt(with forward slashes), but not from python
--
https://mail.python.org/mailman/listinfo/python-list
As I said, the lpr command works fine from the command prompt but not from
python.
Everything is 64-bit (windows server 2012).
--
https://mail.python.org/mailman/listinfo/python-list
On 20/04/2016 14:57, loial wrote:
> I am trying to run lpr from python 2.7.10 on windows
>
> However I always get the error
> 'C:/windows/system32/lpr.exe ' is not recognized as an internal or external
> command,
> operable program or batch file.
>
> Even though typing the same at the command p
On Wed, Apr 20, 2016, at 09:57, loial wrote:
> I am trying to run lpr from python 2.7.10 on windows
>
> However I always get the error
> 'C:/windows/system32/lpr.exe ' is not recognized as an internal or
> external command,
> operable program or batch file.
>
> Even though typing the same at the
On Wed, Apr 20, 2016 at 11:57 PM, loial wrote:
> I am trying to run lpr from python 2.7.10 on windows
>
> However I always get the error
> 'C:/windows/system32/lpr.exe ' is not recognized as an internal or external
> command,
> operable program or batch file.
>
> Even though typing the same at th
I am trying to run lpr from python 2.7.10 on windows
However I always get the error
'C:/windows/system32/lpr.exe ' is not recognized as an internal or external
command,
operable program or batch file.
Even though typing the same at the command prompt works OK
Any ideas?
I am using subprocess
12 matches
Mail list logo