PDFPrint Command Line can not find my printer when call it from PowerShell script

Hello, I have a PowerShell script running, $scandir=”C:\PRINT_ORDERS”$scanbackdir=”C:\PRINT_ORDERS\backup”$scanlogdir=”C:\PRINT_ORDERS\log”$pdftoprint=””$printername=”ET0021B7219675″$verypdf=’C:\Program Files\verypdf\pdfprint_cmd\pdfprint.exe’Get-ChildItem “$scanlogdir\*.log” | Where LastWriteTime -LT (Get-Date).AddDays(-15) | Remove-Item -Confirm:$false$scanlogname = Join-Path -Path $scanlogdir -ChildPath“$($MyInvocation.MyCommand.Name)-$(Get-Date -Format ‘MM-dd-yyyy’).log”echo...