ABBYY FineReader Engine 11 CLI for Linux

Documentation Home / Export to PDF Format Keys

Below you can find the description of the export to PDF format keys of the abbyyocr11 utility.
Note: full keys are marked by italic.

 

PDF export parameters:

 

Key Parameters Default Description
-pfs --pdfScenario
Balanced
MaxSpeed
MaxQuality
MinSize
Balanced The scenario of export to PDF (PDF/A) format.
-pacm --pdfaComplianceMode
None
Pdfa_1a
Pdfa_1b
Pdfa_2a
Pdfa_2u
Pdfa_3a
Pdfa_3u
None Specifies if the result PDF file should conform to one of PDF/A standards.
-ptem --pdfTextExportMode
ImageOnly
ImageOnText
TextOnImage
TextOnly
TextWithPictures
Specifies the mode of export of recognized text into PDF (PDF/A) format.
-pmm --pdfMRCMode
Always
Auto
Disable
Auto Specifies the mode of using Mixed Raster Content for output PDF (PDF/A) file.
-pfc --pdfColority
ForceToBw
ForceToGray
KeepColority
Allows you to keep the original colors in the output PDF (PDF/A) file or save it in gray or black and white.
-pdccd --pdfDontCorrectColorDepth
no   The color depth of the document will not be corrected.
-pfr --pdfResolution
picture resolution in dpi 300 Specifies the picture resolution in dpi that is used for exporting pictures into PDF (PDF/A) format.
-prt --pdfResolutionType
Desired
Exact
Source
Desired Defines how to use the value of specified resolution.

 

PDF export features:

 

Key Parameters Default Description
-pfem --pdfFontEmbeddingMode
Auto
DontEmbed
Embed
Auto Specifies whether fonts should be embedded during export to PDF (PDF/A).
-pwtm --pdfWriteTaggedPDFMode
Auto
DontWrite
Write
Auto Specifies if the recognized text should be exported to tagged PDF.
-pruw --pdfReplaceUncertainWordsWithImage
no   Uncertainly recognized words will be replaced with their images during export to PDF (PDF/A) format.
-pdwrt --pdfDontWriteRunningTitles
no   The running titles will not be saved to the output PDF (PDF/A) file.
-pdwl --pdfDontWriteLinks
no   The hyperlinks will not be written to the output PDF (PDF/A) file.
-pdwso --pdfDontWriteSourceOutline
no   The outline of the source PDF file will not be written to the output file.
-pdwsa --pdfWriteSourceAttachments
no   The attachments from the original PDF file will be written to the output file. This option is ignored if the original file was not PDF. The attachments can be saved only when exporting to PDF/A-3 or non-PDF/A-compliant PDF (when the -pacm option is used with None, Pdfa_3a or Pdfa_3u parameters).
-pel --pdfEnableLinearization
no   A linear PDF file will be created.
-pfv --pdfVersion
Auto
Version13
Version14
Version15
Version16
Version17
Auto Specifies the version of the PDF (PDF/A) file. The version should not conflict with the specified export parameters.
-pwxm --pdfWriteXmpMetadataMode
Auto
DontWrite
Write
Auto Specifies whether document content information should be written to XMP data of the PDF (PDF/A) file.

 

PDF paper size parameters:

 

Key Parameters Default Description
-ppw --pdfPaperWidth
paper width in twips width of an A4 page Stores paper width in twips (1/1440 of inch).
-pph --pdfPaperHeight
page height in twips height of an A4 page Stores paper height in twips (1/1440 of inch).
-ppsm --pdfPaperSizeMode
AutoFlexible
AutoFixed
ImageSize
SynthesisSize
UserDefined
ImageSize Specifies how the paper size should be selected during export of the recognized text into output PDF (PDF/A) file.

 

PDF document content info writing parameters:

 

Key Parameters Default Description
-pdwa --pdfDontWriteAuthor
no   The author of the document will not be written into the output PDF (PDF/A) file.
-pdwc --pdfDontWriteCreator
no   The creator of the document will not be written into the output PDF (PDF/A) file.
-pdwk --pdfDontWriteKeywords
no   The keywords will not be written into the output PDF (PDF/A) file.
-pwp --pdfWriteProducer
no   The producer of the document will be written into the output PDF (PDF/A) file.
-pdws --pdfDontWriteSubject
no   The subject of the document will not be written into the output PDF (PDF/A) file.
-pdwt --pdfDontWriteTitle
no   The title of the document will not be written into the output PDF (PDF/A) file.

 

PDF picture compression parameters:

 

Key Parameters Default Description
-pbpf --pdfBwPictureFormats
Space-separated combination of the following constants:
Auto
CCITT4
JBIG2
JBIG2Lossless
Auto Specifies the image format to be used when saving a PDF (PDF/A) file with embedded black-and-white pictures.
-pcpf --pdfColorPictureFormats
Space-separated combination of the following constants:
Auto
J2K
Jpeg
LZW
Zip
Auto Specifies the image format to be used when saving a PDF (PDF/A) file with embedded color pictures.
-pgpf --pdfGrayPictureFormats
Space-separated combination of the following constants:
Auto
J2K
Jpeg
LZW
Zip
Auto Specifies the image format to be used when saving a PDF (PDF/A) file with embedded gray pictures.
-pesf --pdfEnableSharpenFilter
no   The image will be additionally sharpened.
-pjq --pdfJpegQuality
JPEG quality in percent 45 Specifies the JPEG quality in percent for pictures embedded in a PDF (PDF/A) file.
-peinm --enableInterpolationMode
Yes
No
Auto
Auto Specifies if the output PDF document supports image interpolation in PDF viewers.

Note: This option is not suitable for PDF/A formats as they require that the interpolation is turned off.

 

PDF Mixed Raster Content (MRC) parameters:

 

Key Parameters Default Description
-pcmds --pdfColorMaskDownSampling
down sampling rate of the color mask 4 Specifies the down sampling rate of the color mask during export to a PDF (PDF/A) file with Mixed Raster Content.
-pmt --pdfMonochromeText
no   The recognized text will be exported as monochrome.
-ptc --pdfTextColor
int value of the text color 0
(black)
Specifies the text color in monochrome mode. The int value is calculated from the RGB triplet using the formula: (red value) + (256 x green value) + (65536 x blue value).
-pdkb --pdfDontKeepBackground
no   The original background will not be saved during export to a PDF (PDF/A) file with Mixed Raster Content.
-pbc --pdfBackgroundColor
int value of the background color -1
(automatic detection)
Specifies the background color. The int value is calculated from the RGB triplet using the formula: (red value) + (256 x green value) + (65536 x blue value).
-pbds --pdfBackgroundDownSampling
down sampling rate of the background 2 Specifies the down sampling rate of the background.
-pdpib --pdfDontPicturesInBackground
no   The pictures will not be considered as a part of the background.
-pubwitm --useBwImageAsTextMask
no   The binarized image will be used as MRC text mask. This option is recommended for originally black-and-white printed documents with handwritten notes, stamps etc.

 

www.ocr4linux.com
©2015 ABBYY Production LLC