Office to PDF conversion issues

PDF-XChange Drivers API (only) V4/V5
This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - VERSION 4 & 5 - Please use the PDF-Tools SDK Forum for Library DLL assistance.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

VimalEMC
User
Posts: 6
Joined: Fri Feb 13, 2015 9:24 am

Office to PDF conversion issues

Post by VimalEMC »

Hi,
We are evaluating PDF Xchange for office to PDF conversions. We are using C# and trigger print from the application using Office interop DLLs. The attached file shows the PDF output of a Powerpoint file.

1) Is there a way to remove the border and make it look exactly like the PDF output that is generated when we open the file in Powerpoint and choose Save As PDF (without any borders)?

2) When we print excel workbooks we are seeing multiple PDFs being generated for each worksheet. How can we get a single PDF file?

Thanks & Regards,
Vimal
You do not have the required permissions to view the files attached to this post.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17960
Joined: Mon Jan 12, 2009 8:07 am
Location: London

Re: Office to PDF conversion issues

Post by Tracker Supp-Stefan »

Hi Vimal,

Welcome to our forums.
For the first question - you will need to make sure that you've removed all borders. We will need to see a snippet of the code you are using to be able to determine whether those borders are forced via the Drivers API code, or if they are generated by PowerPoint itself (I suspect the latter).

For the issue with Excel printing - Excel does split large workbooks into separate print jobs and sends them as such to the printer.
So you will need to e.g. specify the same file name, and set the WhenExists =3 in the Driver's save settings:
https://help.pdf-xchange.com/DEV/de ... V5SDK:save

Regards,
Stefan
VimalEMC
User
Posts: 6
Joined: Fri Feb 13, 2015 9:24 am

Re: Office to PDF conversion issues

Post by VimalEMC »

One more thing:
We are printing Excel workbook with different worksheet page sizes. We would like the PDF page sizes to reflect the different page sizes of Excel. However, the output PDF (multiple print PDFs appended) all show pages of the same size (A4). We have not set any page size in the code.

The printer UI however shows Paper Setting -> Page Size as A4. Not sure who / what is setting this.
Any pointers?
Thanks
Vimal
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3556
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada

Re: Office to PDF conversion issues

Post by Ivan - Tracker Software »

These borders are visible because PP places printed slides in the center of printer's paper.
To have a PDF without border, you have to set a paper size in the printer that corresponds to the size of slides. In your case it is 190.5 mm x 254 mm

With Excel situation is bit different - it ignores printer's paper settings, but use sheet settings instead.
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.