These options allow control of some of the advanced features, such as custom paper size and text extraction. 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("Devmode settings;Resolution", "300");

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

item.Set("Save;Prompt""0");

item.Set("Advanced Features;Extract Text""1");

item.Set("Advanced Features;Extract Text Layout""Physical");
...
// convert the file
item.Convert("Microsoft Word",
             @"C:\Test\Report.docx",
             @"C:\Test\Out\ConvertedReport");

 

Code Sample - VB.NET

 

Dim item As PNDocConvQueueServiceLib.IPNDocConvQueueItem

 

 ' Create the conversion item

item = New PNDocConvQueueServiceLib.PNDocConvQueueItem()

 

' Set conversion settings

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

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

item.Set("Save;Prompt""0")

item.Set("Advanced Features;Extract Text""1")

item.Set("Advanced Features;Extract Text Layout""Physical")

...

' convert the file

item.Convert("Microsoft Word", _

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

             "C:\Test\Out\ConvertedReport")

 

 

Conversion Settings - Advanced Features

Name:

Advanced Features;Units

 

Specifies what unit of measurement is used for settings such as custom paper width or hardware margin. Units can be entered in inches (8.50in) or centimeters (21.59cm), provided the unit designation of inches (in) or centimeters (cm) is given. Also accepted are units entered in as hundredths of an inch (.01 Inches) or tenths of a millimeter(.1 Millimeters).

 

Values:

.01 Inches

.1 Millimeters

 

Name:

Advanced Features;Custom Paper Enable

 

Enable or disable custom paper size.

 

Values:

0 - disable custom paper size

1 - enable custom paper size

 

Name:

Advanced Features;Custom Paper Width

 

Specify the width of the custom paper size. Custom Paper Enable must be 1 for this to be used.

 

Values:

25 - 8000000 (default 850) - Range in hundredths of an inch

64 - 20000000 - Range in tenths of a millimeter

0.250in - 80000.000in - Range in inches

0.640cm-200000.000cm - Range in centimeters

 

Name:

Advanced Features;Custom Paper Height

 

Specify the height of the custom paper size. Custom Paper Enable must be 1 for this to be used.

 

Values:

25 - 8000000 (default 1100) - Range in hundredths of an inch

64 - 20000000 - Range in tenths of a millimeter

0.250in - 80000.000in - Range in inches

0.640cm-200000.000cm - Range in centimeters

 

Name:

Advanced Features;Hardware Margin Left

 

Values:

0 - 100 (default = 0) -  Range in hundredths of an inch

0 - 254 - Range in tenths of a millimeter

0.000in-1.000in - Range in inches

0.000cm-2.540cm -  Range in centimeters

Name:

Advanced Features;Hardware Margin Top

 

Values:

0 - 100 (default = 0) - Range in hundredths of an inch

0 - 254 - Range in tenths of a millimeter

0.000in-1.000in - Range in inches

0.000cm-2.540cm - Range in centimeters

 

Name:

Advanced Features;Printer Area Margin Left

 

Values:

0 - 8000000 (default = 0) - Range in hundredths of an inch

0 - 20000000 - Range in tenths of a millimeter

0.000in - 80000.000in - Range in inches

0.000cm-200000.000cm - Range in centimeters

 

Name:

Advanced Features;Printer Area Margin Top

 

Values:

0 - 8000000 (default = 0) - Range in hundredths of an inch

0 - 20000000 - Range in tenths of a millimeter

0.000in - 80000.000in - Range in inches

0.000cm-200000.000cm - Range in centimeters

 

Name:

Advanced Features;Printer Area Margin Right

 

Values:

0 - 8000000 (default = 0) - Range in hundredths of an inch

0 - 20000000 - Range in tenths of a millimeter

0.000in - 80000.000in - Range in inches

0.000cm-200000.000cm - Range in centimeters

 

Name:

Advanced Features;Printer Area Margin Bottom

 

Values:

0 - 8000000 (default = 0) - Range in hundredths of an inch

0 - 20000000 - Range in tenths of a millimeter

0.000in - 80000.000in - Range in inches

0.000cm-200000.000cm - Range in centimeters

 

Name:

Advanced Features;Extract Text

 

Enable this to also create a separate text file containing all of the textual elements of your source document.

 

Values:

0 - do not extract text

1 - extract text into a separate text file

 

Name:

Advanced Features;Extract Text Filepath

 

Path to file receiving extracted text.

 

Values:

Full path to file to store text.

 

Name:

Advanced Features;Extract Text Layout

 

Choose the layout of the text file.

 

Values:

Physical

  Matches the format of the text in the original file.

Raw

 Saves the text in the order in which it was sent to the driver. This may not be the same order in the original file.

None

 No formatting is attempted. All text is written to the file as it is received

 

Name:

Advanced Features;Extract Text Encoding

 

Choose the encoding of the text file.

 

Values:

ANSI

UTF-8

UTF-16

 

Name:

Advanced Features;Extract Text EOL

 

Values:

Windows

 Lines end with the CRLF line feed

Mac

 Lines end with the LF line feed

Unix

 Lines end with the CR line feed

 

Name:

Advanced Features;Extract Text Emit Page Breaks

 

Values:

0

1

 

Name:

Advanced Features;Control Strings Enabled

 

Values:

0

1