I have a bit of an automation problem.
Customer has a tool that generates PDF files (containing a fancy label) as orders are processed. Great.
Problem: Once the order is printed and the line worker is going to package the item, the generated fancy label needs printed for the box.
Previously, they used a not fancy label and a generic barcode printer. For that process I wrote a simply webpage served on a local raspberry pi. The Line worker's computer is a simply Linux Mint system and all they do is load the page and scan a barcode on the product. this printed out the label. making use of ssh and the lp command.
The new process uses a printer without a Linux driver, so I have a Windows box. setup for testing. I can easily print the PDF with Start-Process in a simple PowerShell script from the user machine. But if I connect via SSH and invoke the script, it executes, but nothing happens. I assume this is because there is no environment for the Start-Process command to do anything.
So what other way can I print a PDF file from a PowerShell script? Or lacking that from cmd.
The end users really just need to have only their webpage open and the hand scanner that scans the barcode as the data entry.
@Obsolesce I guess maybe instead of a webpage I could have some kind of PowerShell application running with a little GUI for the feedback?
If the new printer had a Linux Driver, this would be moot, but it does not. https://www.primera.com/lx900downloads