Please enable JavaScript to view this site.

PNDocConvQueueServiceLib

Navigation: Conversion Settings

Built-in PDF Converter Options

Scroll Prev Top Next More

The Built-in PDF Converter replaces the Adobe Reader converter. It eliminates the need to install Adobe Reader to convert PDF files. Unlike when converting using the Adobe Reader converter, files are opened and converted without printing, resulting in faster conversion.

Caution

This feature is not supported on Microsoft® Windows Server 2008 R2 and Microsoft® Windows 7.

 

Table values in bold text are the default value for that setting.

 

 

Code Sample - C#

 
PNDocConvQueueServiceLib.PNDocConvQueueItem item = null;
 
// Create the conversion item
item = new PNDocConvQueueServiceLib.PNDocConvQueueItem();
 
// Set conversion settings

item.Set("Adobe.PDF.PrintOptions.PageAutoRotate""True");

 

item.Set("Devmode settings;Resolution", "300");
item.Set("Save;Output File Format", "TIFF Multipaged");
...
// convert the file

item.Convert("Adobe PDF - Builtin", _

             @"C:\Test\Report.pdf", _

             @"C:\Test\Out\ConvertedPDF");

 

Code Sample - VB.NET

 

Dim item As PNDocConvQueueServiceLib.IPNDocConvQueueItem

 

 ' Create the conversion item

item = New PNDocConvQueueServiceLib.PNDocConvQueueItem()

 

' Set conversion settings

item.Set("Adobe.PDF.PrintOptions.PageAutoRotate""True")

item.Set("Devmode settings;Resolution""300")

item.Set("Save;Output File Format""TIFF Multipaged")

...

' convert the file

item.Convert("Adobe PDF - Builtin", _

             "C:\Test\Report.pdf", _

             "C:\Test\Out\ConvertedPDF")

 

 

Conversion Settings - Built-in PDF Converter Options


Name:

Adobe.PDF.PrintOptions.ChoosePaperSourceByPDFPageSize

 

When "True", the converter will use the page size of each page in the PDF to determine the paper size of the output page (paper source); in this case the page size of the output images will match the original PDF document. If you are controlling the paper size using the Devmode settings;Paper Size setting, this option should be set to false. This will scale the pages to the new paper size. This option is enabled (set to "True") by default.

 

Values:

String value "True" or "False".

 

Name:

Adobe.PDF.PrintOptions.PageAutoRotate

When "True", the PDF page will be rotated to fit the output page orientation when needed. Use when Adobe.PDF.PrintOptions.ChoosePaperSourceByPDFPageSize is set to "False". This option is disabled (set to "False") by default.

 

Values:

String value "True" or "False".

 

Name:

Adobe.PDF.PrintOptions.PageScaling

 

Choose how the PDF page will be scaled to the output page. Use when Adobe.PDF.PrintOptions.ChoosePaperSourceByPDFPageSize is set to "False". This option is set to "ShrinkToFit" by default.

 

Values:

ActualSize - prints the PDF page at its original page size. If the output page is smaller the the original PDF page size, the page may be cropped.

ShrinkToFit - PDF pages that are larger than the output page size will be scaled to fit on the page; smaller pages are not scaled and are centered on the larger page. This is the default value.

 

Name:

Adobe.PDF.PrintOptions.PrintAsImage

 

Choose how the PDF page content is rendered. This option is enabled (set to "False") by default.

 

Values:

String value "True" or "False".