Running lpr on windows from python
Tim Golden
mail at timgolden.me.uk
Wed Apr 20 10:58:38 EDT 2016
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.architecture()"
If it is, then I'm not sure what's going on.
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).
TJG
More information about the Python-list
mailing list