[python-win32] PyWin32 Advanced Options

2024-01-18 Thread Michael Litvin
Hello, I am trying to print from python using the bypass tray on my printer, but I cannot seem to get it working and it always prints from tray 1. Here is my code: image = Image.open(file_path) printer_handle = win32print.OpenPrinter(printer_name) p_info =

Re: [python-win32] PythonService was unable to locate the service manager

2024-01-18 Thread Jacob Nolan via python-win32
E: is just a local harddrive. The full python install and files under the E: drive is accessible for both the local SYSTEM user, my user and administrator. It is configured to run as the Local System Account. I am successfully able to install the service initially via admin command prompt,