@echo off cd C:path\\PDFtoPrinter.exe "filepath/filename.pdf" "printerName" exit /b 0 pause>nul
i used node-pdf-printer mo