Get actual values from wmic path Win32_Printer get caption, drivername, portname command or even from wmic path Win32_Printer get /value (scriptable using two nested for /F loops against wmic output). Set "drivername=HP Officejet 7110 series"įor %%X in (*.pdf) do "?robat%" /t "%%~fX" "%printername%" "%drivername%" "%portname%" Set "printername=HP Officejet 7110 series" IMHO the four parameters of the /t option are obligatory (not facultative) ones hence, supply them as follows: set "acrobat=C:\Program Files\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe" Initially, when you open the protected PDF file you will be prompted for your Microsoft account. Double click on the protected PDF file to open it in Adobe Acrobat Reader. Initial open and view of protected PDF file. portname cannot contain any "/" characters if it does, output is routed to the default port for that Click Apply and notice that once the process completes, the PDF file extension remain the same and doesn’t change.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |