Good morning I would like to know how I can send a .docx file to a USB printer connected to the PC.
This is an example I found on the web:
winword.exe /p "c:\marta.doc" /mFilePrintDefault /mFileExit
but it did not work for me
this is my python code:
import subprocess
subprocess.Popen(['C:/Program Files (x86)/Microsoft Office/root/Office16/WINWORD.EXE','/p','Comprobantes/17-08-2018210734_t_exe.docx','/mFilePrintDefault/mFileExit'])