Page 1 of 1

pdf print to local printer

Posted: Wed Aug 12, 2026 9:13 am
by Robbie
Im getting a xml file and PDF file from our customer by email. I need a way in switch to print the pdf to a local printer in my office. we are building a flow that will read the xml and automatic make a order form but i want to print out the PDF file to be witch the order form, so the guys in the factory can see what the need to do.
If hav tried acrobat. but that does not work. (it opens acrobat reader but nothing happens).

Re: pdf print to local printer

Posted: Wed Aug 12, 2026 9:17 am
by jan_suhr
There are a few apps that will do that for you.

This is a good one that supports almost every printer. It is a service that you pay for but it is not expensive

https://www0.enfocus.com/en/appstore/product/printnode

Re: pdf print to local printer

Posted: Thu Aug 13, 2026 2:29 pm
by Shawn_Anderson
I had to set something similar up for printing from a Mac and ended up using the Run Command app and the lp command. You'd need to do some digging for the exact printer name and options but it should work with something like this

Code: Select all

lp -d [i]printername[/i] -o InputSlot=tray-1 -o media=letter "%%InputFilePath%%"

Re: pdf print to local printer

Posted: Thu Aug 13, 2026 4:04 pm
by JimmyHartington
On Windows I have used a node.js script with this package https://www.npmjs.com/package/pdf-to-printer
This has worked very well sending labels to a Zebra label printer.

Re: pdf print to local printer

Posted: Wed Aug 19, 2026 12:20 pm
by tdeschamps
JimmyHartington wrote: ↑Thu Aug 13, 2026 4:04 pm On Windows I have used a node.js script with this package https://www.npmjs.com/package/pdf-to-printer
This has worked very well sending labels to a Zebra label printer.
On windows, you can also install Sumatra PDF, who does have a CLI for printing : https://www.sumatrapdfreader.org/docs/C ... -arguments

Re: pdf print to local printer

Posted: Wed Aug 19, 2026 3:17 pm
by jan_suhr
The Node.js, NPM pdf-to-printer use Sumatra PDF

Re: pdf print to local printer

Posted: Wed Aug 19, 2026 4:05 pm
by Robbie
Shawn_Anderson wrote: ↑Thu Aug 13, 2026 2:29 pm I had to set something similar up for printing from a Mac and ended up using the Run Command app and the lp command. You'd need to do some digging for the exact printer name and options but it should work with something like this

Code: Select all

lp -d [i]printername[/i] -o InputSlot=tray-1 -o media=letter "%%InputFilePath%%"

Well Im trying this option on my Mac but can not get it to work yet. the files are going true the run command but nothing happens.
lp -d Brother_HL_L2400DWE__ec916133479d_ (default) -o InputSlot=tray-1 -o media=letter "%%InputFilePath%%"

Re: pdf print to local printer

Posted: Thu Aug 20, 2026 2:16 pm
by Robbie
After a day trying and google if found a working solution with the execute command in switch.
Command or path : /user/bin/lp
arguments : -d "my printer name" "%1"

Re: pdf print to local printer

Posted: Mon Sep 07, 2026 2:18 pm
by Robbie
I have not found any. And for all the other things you need to subscribe ore pay. This does the trick a very well for us.