I am using Windows Server 2022 Std.
I need to print pdf labels silently to an internet based printer. I have the following command to call Ghostscript but it prompts which printer to select, even though I am specifying it:
"C:Program Filesgsgs10.03.0bingswin64c.exe" -q -dNOPAUSE -dBATCH -sDEVICE=mswinpr2 -sOutputFile="http://localhost:12345/abc/def/aaasssddd/ZDesigner GK420d A6" "C:Testingfilename.pdf"
How do I get around this? If I change the printer to be the default and change -sOutputFile
to -dQueryUser=3
it does indeed print but ideally I don’t want this printer to be the default one.