Im a little confused by this. If I use the Get-printer command I get the printers list. So I know the printer is there.
Get-Printer
Name ComputerName Type DriverName PortName Shared Published DeviceType
---- ------------ ---- ---------- -------- ------ --------- ----------
OneNote (Desktop) Local Send to Microsoft OneN... nul: False False Print
UNBILLING Local Ghostscript PDF unbilling False False Print
tiquete Local Generic / Text Only com.printdis... False False Print
OneNote for Windows 10 Local Microsoft Software Pri... Microsoft.Of... False False Print
Microsoft XPS Document Writer Local Microsoft XPS Document... PORTPROMPT: False False Print
Microsoft Print to PDF Local Microsoft Print To PDF PORTPROMPT: False False Print
Fax Local Microsoft Shared Fax D... SHRFAX: False False Print
EXPORT Local Generic / Text Only C:\Users\Jua... False False Print
EPSON TM-U220 Receipt Local EPSON TM-U220 ReceiptE4 ESDPRT001 False False Print
Adobe PDF Local Adobe PDF Converter Documents\*.pdf False False Print
But I make the command.
start-process -filepath "$root\UNB\FINAL_TEXTO\$archivo" -verb print | out-printer -Name "UNBILLING"
The print job will not be sent if the printer is not set as DEFAULT. I don't want that, I want to send it to the specific printer not matter if its default or not.
Any help is appreciated.