This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - Please use the PDF-Tools SDK Forum for Library DLL assistance.
I have been trying to print to PDF-Xchange from within our application and then to save the printed output to a file as a bitmap. Lines and boxes drawn on the driver device context appear in the bitmap, but text does not. Any ideas what I am doing wrong?
Open the printer:
Get the document properties:
Change the resolution to 150 DPI (both horizontal and vertical):
Create a device context for the printer
Create a memory device context compatible to the printer context
Create a compatible bitmap and select it into the memory device context
Draw on the device context
Save the bitmap to a file.
Here is a VC++ 6.0 test project. It tries to draw a circle with the letters SFREP printed centered within the circle. It works with PDF995, but not with PDF-XChange. I've included the output files, 995.BMP and XCng.BMP, so you can see what I mean. If you need a PDF995 install, there is a free demo install at http://www.pdf995.com/download.html. You will need to download both the 2.5MB driver installer and the 9.1 MB converter installer.