When you use the Microsoft Print to PDF to print to PDF file, nothing may happen after issuing the Print command. Or, Microsoft Print to PDF may only print to a .PRN file even if the “Print to File” option is unchecked on the Printer Properties page. This post tells you why this happens and how to fix it.
Microsoft Print to PDF may print to a .PRN file (or do nothing) if you had removed Microsoft Print to PDF and later installed it manually using the Add a Printer wizard, specifying an incorrect port. Microsoft Print to PDF wouldn’t work if you chose
LPT1 (as the default Port in the “Add Printer” wizard) or
FILE: (Print to File) option in the Ports list box. For Microsoft Print to PDF,
PORTPROMPT: is the correct port setting.
The Port details can be checked via Printer properties, Ports tab. Alternately, running the following command (from the Run dialog) would show the Printer configuration.
RUNDLL32.EXE PRINTUI.DLL,PrintUIEntry /Xg /n "Microsoft Print to PDF"
The above dialog shows that a wrong port (
LPT1) had been selected when adding MS Print to PDF.
Getting an error?
Are you seeing one of the following errors when launching the Printer UI dialog above?
Operation could not be completed (error 0x00000709). Double check the printer name and make sure that the printer is connected to the network.
The arguments are invalid.
The above can happen if you type the command-line arguments incorrectly or accidentally leave a space after the forward-slash — e.g.,
/ Xg instead of
Also, enclose the printer name in normal double-quotes (
""). Using the curly or typographic quotes symbol (
“”) would case the former error message.
It should look like the one below, which is the default setting.
PrinterName: Microsoft Print to PDF ShareName: (null) PortName: PORTPROMPT: DriverName: Microsoft Print To PDF Comment: (null) Location: (null) SepFile: (null) PrintProcessor: winprint Datatype: RAW Parameters: (null) Attributes: <Local|DoCompleteFirst|> Priority: 1 DefaultPriority: 0 StartTime: 0 UntilTime: 0 Status: <> ClientSideRender: Enabled
Method 1: Reinstall Microsoft Print to PDF
To fix the problem, use one of the methods in the article Restore Microsoft Print to PDF After Deleting it Accidentally to reinstall Microsoft Print to PDF.
Method 2: Set the Correct Port in Printer Properties
- Right-click Start, click Control Panel.
- Select Devices and Printers in the list view.
- Right-click Microsoft Print to PDF, and click Printer Properties
- Click the Ports tab.
If it says LPT1, Microsoft Print to PDF will do nothing if you issue the Print command. And if FILE: (Print to File) is chosen, it would only print to a .PRN file instead.
- Scroll down until you see PORTPROMPT: Local Port, and enable the checkmark. (See what is PORTPROMPT)
- Click OK. See if you’re able to print using Microsoft Print to PDF.
One small request: If you liked this post, please share this?One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
- Pin it!
- Share it to your favorite blog + Facebook, Reddit
- Tweet it!