Choose Adobe PDF as the printer in the Print dialog box. To customize the Adobe PDF printer setting, click the Properties (or Preferences) button. (In some applications, you may need to click Setup in the Print dialog box to open the list of printers, and then click Properties or Preferences.) Click Print. Is it possible to install the Windows 10 Microsoft Print to PDF on win2012 R2 Terminal Server. A search on the internet appears to say that Microsoft Print to PDF is 'just a print driver', this indicates to me that it should be possible: is it? In the Windows Features dialog, uncheck Microsoft Print to PDF and click OK. Adding Microsoft Print to PDF Using Devices and Printers. Right-click Start to access the Win-X menu, and click Control Panel. Click Devices and Printers in Control Panel, and then click Add a printer button in the toolbar.
I developed a C#, web forms application that generates a PDF document server-side and sends it to the client. I generate the PDF using Microsoft Print To PDF(MPTP), PrintDocument, and PrintPageEventArgs.Graphics.DrawString. This works great on my local machine.
Enter server: When I uploaded my application and tried running it on my server, I get an error saying there's no printer installed. I check in Printers and devices and behold, MPTP isn't listed on the server (one fix for my problem is setting MPTP to default printer).
If you don't have the MPTP in 'Printers and devices':
- Open 'Turn Windows features on or off' and just check MPTP.
The problem is I don't have MPTP there either. To fix that:
- Open Devices and Printers
- Add Printer
- 'The printer that I want isn’t listed'
- 'Add a local printer or network printer with manual settings'
- Select port 'FILE: (Print to File)' (i tried other ports and it's the same)
- In the left (Manufacturer) part choose Microsoft, in the right part chose MPTP
It should install the drivers for MPTP, but the problem is I don't have MPTP on the list! This is the part that is problematic.
I can't find help for this problem online (couldn't find even unanswered questions). I couldn't find drivers online so I could install them manually and have no idea how to fix it.
I tried generating a PDF using CutePDF Writer and Spire.PDF (I did generate the PDF, but local characters aren't working [č,š,ž] and I have to use PdfDocument, PdfSection, PdfTextWidget). I don't like generating with Spire.PDF because I must implement the correct header and signature for multipaged documents (which is a pain in the ass and I would prefer using the already written and tested code that uses PrintDocument and MPTP).
Why is the Microsoft Print to PDF driver missing from my server?
Server info: Microsoft Windows Server Version 6.2 (Build 9200). Internet Information Services Version 8.5.9600.16384.
Steven M. Vascellaro3 Answers
@AlexK was right. I am new to working with servers and mistakenly thought it ran Windows 10 when it actually used Server 2012 R2.
The problem is I was googling 'Windows 10 print to pdf'. When I tried searching Server 2012 I found out that Print to PDF doesn't exist on Server 2012, which is why I couldn't find it.
Steven M. VascellaroA work-around is to first print to XPS using the Windows XPS printer, then post process convert the XPS file to PDF using GhostScript's GhostXPS utility.
In my C# applications, I use the System.Diagnostics.Process to setup the parameters and launch the gxpswin64.exe command line executable.
Here is an example:Convert XPS to PDF without Printer Driver
References:
This isn't really a solution, but do I have a workaround for printing a document on Windows Server 2012 R2 if you have a Windows 10 PC you can use. Here are the steps:
- On the Windows Server 2012 R2 Machine, go to the Start Menu.
- Find 'Turn Windows Features On or Off' (Probably requires Admin privileges)
- The Server Manager will launch
- Installation Type > Role-based or feature-based installation
- Select local server
- Server Roles > Turn on Print and Document Services > Print Server
- Features > XPS Viewer
- Install
This will allow you to print to Microsoft XPS Document Writer which will create a '.oxps' file that you can save to the server. Copy that file to your Windows 10 computer and you can then:
- Open the .oxps file on the Windows 10 PC using the XPS viewer that is installed by default.
- Print > Select Printer > Microsoft Print to PDF
Not the answer you're looking for? Browse other questions tagged windowspdfpdf-generationdriverwindows-server-2012 or ask your own question.
Windows 10 allows you to Print to PDF natively, using Microsoft Print to PDF, which is built into Windows 10. You now no longer need to use any third-party free software to print files to PDF.
Microsoft Print to PDF in Windows 10
Microsoft Print to PDF is a feature, built into Windows 10, that lets you create a PDF file from several file formats using a native printer.
If you right-click on a file and select Print, you will see Microsoft Print to PDF as one of the print options available.
If you do not find this option, you may want to check it it has been disabled by mistake. To verify this, Open Start > Settings > Devices > Printers & Scanners. Here under Printers, you will see Microsoft Print to PDF.
Microsoft Print to PDF missing
If you do not see it, open Control Panel > Programs & Features. From the left panel, click on Turn Windows features on or off.
Ensure that the Microsoft Print to PDF feature is checked. If not, check the box, click on OK and exit.
You may have to restart your Windows 10 computer.
Reinstall Microsoft Print to PDF
If this does not help you, or if you removed Microsoft Print to PDF by mistake, type and search for Advanced printer setup in the taskbar search bar and click on the result.
The wizard will search for printers and list them. Select Microsoft Print To PDF and click Next and follow the wizard to its completion.
Hope this helps!
This post will help you if you ever need to cancel a jammed or stuck Print Job queue.
Print To Pdf Windows 7 Freeware
Print To Pdf Windows 7 Office
Related Posts: