On Wed, Apr 20, 2016 at 9:58 AM, Tim Golden <m...@timgolden.me.uk> 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: if '32bit' in platform.architecture(): lpr = os.path.join(os.environ['SystemRoot'], 'SysNative', 'lpr.exe') else: lpr = os.path.join(os.environ['SystemRoot'], 'System32', 'lpr.exe') -- https://mail.python.org/mailman/listinfo/python-list