Chapter7-CommandLineBatchProcessing
CommandLine
Options
Description
Example
-X
Deletesthedestinationfilewhena
conversionerroroccurs.
-s
c:\source\sourcefile.p-
df -d c:\dest.tif -X
-t
CreatesasearchablePDF.
-s c:\snapserv1.tif -d
c: \ ocrpdf -f PDF -e
.pdf
-t
-ocrresource c:\iDRS_
14.0.14.0\resources -
ocrlicense C:\ocr_
key.txt
-u
Setsthedirectorytosend
successfulsourcefilesto.
-u
c:\snowbound\success
-b
Setsthedirectorytosendproblem
sourcefilesto.
-b
c:\snowbound\problem
-wm
Setsthewatermark.
-wmflag 0 -wm
c:\test\Images\waterma-
rk.jpg -pos -1,-1 -
font "Times New
Roman",16,0xff0000,reg-
ular
SpecifyingOnlytheSourceDirectory
YoucanspecifyjustthesourcedirectoryoffilestoconvertwhenrunningSnowBatchfromthe
commandline.
Example7.2:SpecifyingOnlytheSourceDirectory
c:\>sbcmdline -s c:\Snowbound\
Thiscommandconvertsallimagesinthec:\SnowbounddirectorytoTIFF_G4_FAXandplaces
theminthec:\directory.Thelogfilec:\SnbdLog.1.txtiscreated.
SpecifyingOneFileinaDirectory
YoucanspecifyjustonefilewithinadirectorytoconvertwhenrunningSnowBatchfromthe
commandline.
41
Pdf metadata extract - add, remove, update PDF metadata in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Allow C# Developers to Read, Add, Edit, Update and Delete PDF Metadata
pdf metadata online; c# read pdf metadata
Pdf metadata extract - VB.NET PDF metadata library: add, remove, update PDF metadata in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
Enable VB.NET Users to Read, Write, Edit, Delete and Update PDF Document Metadata
google search pdf metadata; remove metadata from pdf online
Chapter7-CommandLineBatchProcessing
Example7.3:SpecifyingOneFileinaDirectory
c:\>sbcmdline -s c:\Snowbound\image1.sbd
Thiscommandconvertsonlytheimage1.sbdimagefromthec:\Snowbounddirectoryto
TIFF_G4_FAXandplacesitinthec:\directory.Thelogfilec:\SnbdLog.1.txtiscreated.
SpecifyingAllSnowBatchCommandLineOptions
YoucanspecifyallcommandlineoptionswhenrunningSnowBatchfromthecommandline.
Example7.4:SpecifyingAllSnowBatchCommandLineOptions
c:\>sbcmdline h
c:\>sbcmdline ?
Eitherofthesetwocommandsspecifiesallcommandlineoptions.
SpecifyingMultipleSourceandDestinationDirectories
Youcanspecifymultipleconversionsourceanddestinationdirectorieswhenrunning
SnowBatchfromthecommandline.
Note:
Whenspecifyingmorethanonesourceanddestinationdirectory,makesurethatyou
entertheminthecorrectorder.Thefirstsourcedirectorylistedismatchedwiththefirst
destinationdirectory/filelisted,andsoon.Therefore,theimagesfromthefirstsource
directorylistedaresavedinthefirstdestinationdirectory/filelisted.
Example7.5:SpecifyingMultipleSourceandDestinationDirectories
c:\>sbcmdline -s c:\Snowbound\ -d c:\SnowboundOut\SubOut1 -s
c:\Snowbound\SubDir1 -d c:\SnowboundOut
Thecommandconvertsallimagesinthec:\SnowbounddirectorytoTIFF_G4_FAXand
placestheminthec:\SnowboundOut\SubOut1directory.Thelogfilec:\SnbdLog.1.txtis
created.
Thecommandalsoconvertsalloftheimagesinthec:\Snowbound\SubDir1directoryto
TIFF_G4_FAXandplacestheminthec:\SnowboundOutdirectory.Thelogfile
c:\SnbdLog.2.txtiscreated.
42
VB.NET PDF Image Extract Library: Select, copy, paste PDF images
Get image information, such as its location, zonal information, metadata, and so on. Extract image from PDF free in .NET framework application with trial SDK
batch edit pdf metadata; change pdf metadata
C# PDF Image Extract Library: Select, copy, paste PDF images in C#
information, such as its location, zonal information, metadata, and so on. Able to edit, add, delete, move, and output PDF document image. Extract image from PDF
adding metadata to pdf files; pdf metadata reader
Chapter7-CommandLineBatchProcessing
SpecifyingMoreSourceThanDestinationDirectories
Youcanspecifymoresourcethandestinationdirectorieswhenusingthecommandlinefor
runningSnowBatch.
Note:
Iftherearemoresourcethandestinationdirectorieslisted,thelastdestinationdirectory
willbeassociatedwiththesurplussourcedirectories.
Example7.6:SpecifyingMoreSourcethanDestinationDirectories
c:\>sbcmdline -s c:\Snowbound\ -s c:\Snowbound\SubDir1 -d
c:\SnowboundOutc:\>sbcmdline -s c:\Snowbound\ -d
c:\SnowboundOut -r
Thefirstcommandconvertsallimagesinthec:\SnowbounddirectorytoTIFF_G4_FAXand
placestheminthec:\SnowboundOutdirectory.Thelogfilec:\SnbdLog.1.txtis
created.Italsoconvertsallimagesinthec:\Snowbound\SubDir1directorytoTIFF_G4_
FAXandplacestheminthec:\SnowboundOutdirectory.Thelogfilec:\SnbdLog.2.txt
iscreatedforthisportionoftheconversion.
Thesecondcommandconvertsallimagesinthec:\Snowbounddirectoryandallofits
subdirectoriestoTIFF_G4_FAXandplacestheminthec:\SnowboundOutdirectory.Thelog
filec:\SnbdLog.1.txtiscreated.
SpecifyingtheReplicatedOutputSubdirectory
Youcanspecifythatimagesconvertedfromtheoriginalsubdirectoriesgotocorresponding
replicatedsubdirectoriesunderthedestinationdirectorieswhenusingthecommandlinefor
runningSnowBatch.
Example7.7:SpecifyingtheReplicatedOutputSubdirectory
c:\>sbcmdline -s c:\snowbatch\input -d c:\snowbatch\output -e
.tif -f 10 -r -R
Thiscommandconvertsallimagesinthec:\snowbatch\input directoryandallofits
subdirectoriesfromPDFtoTIFFandplacestheminthec:\snowbatch\outputdestination
directorywiththesubdirectoriesreplicated.The-rcommandconvertsimagesfromtheoriginal
subdirectories.The-Rcommandplacesconvertedimagesintoreplicatedsubdirectoriesinthe
destinationdirectory.Withoutthe-rcommand,the-Rcommandwillbeignored.
SpecifyingAnOutputFormat
YoucanspecifyanoutputformatwhenusingthecommandlineforrunningSnowBatch.
43
C# PDF Page Extract Library: copy, paste, cut PDF pages in C#.net
|. Home ›› XDoc.PDF ›› C# PDF: Extract, Copy and Paste PDF Pages. C#.NET Sample Code: Extract PDF Pages and Save into a New PDF File in C#.NET.
edit pdf metadata online; acrobat pdf additional metadata
VB.NET PDF Library SDK to view, edit, convert, process PDF file
Feel free to define text or images on PDF document and extract accordingly. Multiple metadata types of PDF file can be easily added and processed.
adding metadata to pdf; online pdf metadata viewer
Chapter7-CommandLineBatchProcessing
Note: 
SeeAppendix A,
Supported
File
Formats
forvalidformats.Youcanspecifyeitherthe
formatnameornumber.
Example7.8:SpecifyingAnOutputFormat
c:\>sbcmdline -s c:\Snowbound\ -f TIFF_UNCOMPRESSED
c:\>sbcmdline -s c:\Snowbound\ -f 0
Thiscommandconvertsallimagesinthec:\SnowbounddirectorytoTIFF_UNCOMPRESSED
andplacestheminthec:\directory.Thelogfilec:\SnbdLog.1.txt iscreated.
SpecifyingSplittingMulti-pageFiles
Youcansplitmulti-pagefileswhenusingthecommandlineforrunningSnowBatch.Separate
filesarecreatedduringtheconversion.SeeSplitting
Up
Multi-
page
Files
formoreinformation.
Example7.9:SpecifyingSplittingMulti-pageFiles
c:\>sbcmdline -s c:\Snowbound\image3.4pages.sbd -p
Thiscommandsplitstheimage3.4pages.sbdimageinthec:\Snowbounddirectory,convertsit
toTIFF_G4_FAX,andplacesseparatefilesinthec:\directory.Thelogfile
c:\SnbdLog.1.txtiscreated.
CombiningMultipleFilesintoOneFile
YoucancombinefilesintoonefilewhenusingthecommandlineforrunningSnowBatchasin
theexamplebelow.
Example7.10:CombiningMultipleFilesintoOneFile
c:\>sbcmdline -s file1 -s file2 -d destfile
Thiscommandcombinesfile1withfile2andcreatesthedestfile.
Anotherwaytocombinemultiplefilesintoonefileistousethecommandlineseveraltimesand
usethesamedestinationnameasintheexamplebelow.
Example7.11:UsingtheCommandLineSeveralTimes
44
C# PDF Text Extract Library: extract text content from PDF file in
XDoc.PDF ›› C# PDF: Extract PDF Text. C# PDF - Extract Text from PDF in C#.NET. Feel Free to Extract Text from PDF Page, Page Region or the Whole PDF File.
pdf metadata editor online; add metadata to pdf
VB.NET PDF Text Extract Library: extract text content from PDF
PDF ›› VB.NET PDF: Extract PDF Text. VB.NET PDF - Extract Text from PDF Using VB. How to Extract Text from PDF with VB.NET Sample Codes in .NET Application.
embed metadata in pdf; batch pdf metadata editor
Chapter7-CommandLineBatchProcessing
c:\>sbcmdline -s file1 -d destfile
c:\>sbcmdline -s file2 -d destfile
c:\>sbcmdline -s file3 -d destfile
Thiscommandcombinesfile1,file2,andfile3tocreatethedestfile.
SpecifyingLoggingOptions
Youcanspecifywheretheconversionlogiscreatedandwhatitiscalledwhenusingthe
commandlineforrunningSnowBatch.SeeSelecting
Logging
Options
formoreinformation.
Example7.12:SpecifyingLoggingOptions
c:\>sbcmdline -s c:\Snowbound\ -l mylog
c:\>sbcmdline -s c:\Snowbound\ -l c:\Snowbound\mylog
Thefirstcommandconvertsallimagesinthec:\Snowbound directorytoTIFF_G4_FAXand
placestheminthec:\directory.Thelogfilec:\mylog.1.txtiscreated.
Thesecondcommandconvertsallimagesinthec:\Snowbound directorytoTIFF_G4_FAX
andplacestheminthec:\directory.Thelogfilec:\Snowbound\mylog.1.txtiscreated.
SpecifyingCustomExtensions
Youcanspecifycustomextensionsfortheconvertedfileswhenusingthecommandlinefor
runningSnowBatch.Thedefaultextensionis“.sbd.”SeeSelecting
the
Destination
Format
for
moreinformation.
Example7.13:SpecifyingCustomExtensions
c:\>sbcmdline -s c:\Snowbound\ -e .myext
Thiscommandconvertsallimagesinthec:\SnowbounddirectorytoTIFF_G4_FAXandplaces
theminthec:\directory.Eachimageendswiththeextensionmyext.Thelogfile
c:\SnbdLog.1.txtiscreated.
SpecifyingDocumentOptions
YoucanspecifytheheightandwidthoftheconvertedPDFimagesandthedocumentinput
variableswhenusingthecommandlineforrunningSnowBatch.SeeSetting
Document
Input
and
Output
Options
formoreinformation.Youcanspecifydocumentoptionsforthefollowing
imagetypes:
l
PDF
l
PCL
45
VB.NET PDF Form Data Read library: extract form data from PDF in
Data: Read, Extract Field Data. |. Home ›› XDoc.PDF ›› VB.NET PDF: Read, Extract Field Data. VB.NET PDF - Read and Extract Field Data in VB.NET.
pdf metadata viewer; read pdf metadata java
C# PDF Library SDK to view, edit, convert, process PDF file for C#
Feel free to define text or images on PDF document and extract accordingly. Multiple metadata types of PDF file can be easily added and processed in C#.NET
delete metadata from pdf; edit pdf metadata
Chapter7-CommandLineBatchProcessing
l
DOC(Word)
l
XLS(Excel)
l
PPT(PowerPoint)
l
AFP
l
RTF
Note:
ChangingtheresolutionandbitdepthcouldspeedupconversionofPDFdocuments.
ChangingthebitdepthofacolorPDFto1willcreateamonochromeimage.
Example7.14:SpecifyingDocumentOptions
c:\>sbcmdline -s c:\Snowbound\ -i 200,1
c:\>sbcmdline -s c:\Snowbound\ -f PDF -o 612,792
Thefirstcommandconvertsallimagesinthec:\SnowbounddirectorytoTIFF_G4_FAXand
iftheyarePDFs,theimagesarereadinat200resolutionandabitdepthof1.Theimagesare
placedinthec:\ directory.Thelogfilec:\SnbdLog.1.txtiscreated.
Thesecondcommandconvertsallimagesinthec:\SnowbounddirectorytoPDFswithan
outputsizeof8.5by11inches(8.5*72=612and11*72=792),andplacestheminthec:\
directory.Thelogfile c:\SnbdLog.1.txtiscreated.
SettingtheOverlayPathfortheAFPFileFormat
YoucanspecifytheoverlaypathfortheAPFfileformatwhenusingthecommandlinefor
runningSnowBatch.SeeSetting
the
Overlay
Path
and
Font
Mapping
Options
formore
information.
Example7.15:SettingtheOverlayPathfortheAFPFileFormat
c:\>sbcmdline -s c:\Snowbound\ -d c:\destpath -f AFP -y
c:\overlaypath
Thiscommandsetsc:\overlaypathastheoverlaypath.Itconvertsallimagesinthe
c:\Snowbound directorytotheAFPfileformatandplacestheminthec:\destpath
directory.
SettingtheOutputNamingConvention
Youcanspecifytheoutputnamingconventionwhenusingthecommandlineforrunning
SnowBatch.SeeSetting
the
Overlay
Path
and
Font
Mapping
Options
formoreinformation.
46
Chapter7-CommandLineBatchProcessing
Example7.16:SettingtheOutputNamingConvention
Sbcmdline -n 4
KEEP_ORIGINAL_FILE_OUTPUT_NAME
Sbcmdline -n 3
APPEND_NEW_EXTENTION_OUTPUT_NAME
Sbcmdline -n 2
FORCE_JUST_NEW_EXTENTION_OUTPUT_NAME
Sbcmdline -n 1
SMALLER_SEMI_UNIQUE_OUTPUT_NAME
Sbcmdline -n 0
LARGER_SEMI_UNIQUE_OUTPUT_NAME
SettingtheFontMappingPathfortheAFPFileFormat
YoucanspecifythefontmappingpathfortheAPFfileformatwhenusingthecommandlinefor
runningSnowBatch.SeeSetting
the
Overlay
Path
and
Font
Mapping
Options
formore
information.
Example7.17:SettingtheFontMappingPathfortheAFPFileFormat
c:\>sbcmdline -s c:\Snowbound\ -d c:\dest -f AFP -m
c:\fontmappingpath
Thiscommandsetsthefontmappingpathasc:\fontmappingpath.Itconvertsallimages
inthec:\SnowbounddirectorytotheAFPfileformatandplacestheminthec:\dest
directory.
SpecifyingCommandOptionsforWatermarkMerging
Youcanspecifythecommandoptionformergingwatermarkswhenusingthecommandlinefor
runningSnowBatch.SeeSetting
the
Source
File
Options
formoreinformation.
The-wmflag flagcommandcanhavethefollowingvalues:
l
Flagvalue0-watermarkimage
l
1-Textinformation
l
2-Datetime
The-wm watermarkcommandcanhavethefollowingvalues:
l
Foranimagewatermark,watermarkistheimagepathtomerge.
l
Foratextwatermark,watermarkisthetextstringtobeadded
l
Forthedatetimewatermark,watermarkgivesthedateandtimeformatasshort,longor
timeinthefollowingformat:
l
Shortformat: "dd/mm/yy"
l
Longformat:"Mon,Day,Year"
l
Timeformat:"HH:MM:SS"
47
Chapter7-CommandLineBatchProcessing
The-pos Positioncommandcanhavethefollowingvalues:
Positionvalue:posX,posY
IfposXandposYaregreaterthan0,thenposXandposYaretheabsolutepixelvalueofthe
imageposition.
IfposXandposYarelessthanorequalto0,thenitgivestherelativepositionofwatermarkas
inthefollowingexample:
l
0-left top
l
-1-middle top
l
-2-right top
l
-3-left middle
l
-4-middle middle
l
-5-right middle
l
-6-left bottom
l
-7-middle bottom
l
-8-right bottom
The-Font fontoptionscommandcanhavethefollowingvalues:
Fontoptionsgivesfontinformationsuchas:
l
fontname
l
fontsize
l
fontcolor
l
fontstyle
Example7.18:SpecifyingCommandOptionsforWatermarkMerging
-s C:\test\Images\AppletIntro.tif -d
C:\test\SnowBatch\watermarktest
-f 43 -e .png -wmflag 0 -wm
C:\test\Images\watermark.jpg -pos -2,-2
-s
C:\test\Images\AppletIntro.tif -d
C:\test\SnowBatch\watermarktest
-f 43 -e .png
-wmflag 1 -wm
"watermark text display" -pos -1,-1 -font
"Arial",16,65280,regular
-s C:\test\Images\AppletIntro.tif -d
C:\test\SnowBatch\watermarktest -f 13 -e .jpg
-wmflag 2 -wm
short -pos -7,-7 -font "Arial",10,255,regular
-s C:\test\Images\AppletIntro.tif -d
C:\test\SnowBatch\watermarktest -f 13 -e .jpg
-wmflag 2 -wm
48
Chapter7-CommandLineBatchProcessing
long
-pos -8,-8 -font "Arial",10,255,regular
-s C:\test\Images\AppletIntro.tif -d
C:\test\SnowBatch\watermarktest
-f 13 -e .jpg
-wmflag 2 -wm
time -pos -6,-6 -font "Arial",10,255,regular
PleaseseethenexttopicChapter
8,
Setting
Up
Open
Office
2007
XML
(OOXML)
Support.
49
Chapter8-SettingUpOpenOffice2007XML(OOXML)Support
Chapter 8 - Setting Up Open Office 2007
XML (OOXML) Support
ThischapterdescribeshowtoinstallandsetupOpen2007OpenOfficeXML(OOXML)support.
Thischaptercontainsthefollowingtopics:
Setting
up
Open
Office
2007
XML
(OOXML)
Support
Using
the
Command
Line
for
OOXML
Support
SettingupOpenOffice 2007 XML(OOXML) Support
ThissectiondescribesthestepstotaketosetupOpenOffice2007OOXMLsupport.Follow
thestepsbelowtosetuptheproduct:
LoadingtheOOXMLLicense
1. LoadtheOOXMLLicense.
2. Fromthemainmenu,selectOptions>LicenseFileOptions.
Figure8-1:LicenseFileOptions
50
Documents you may be interested
Documents you may be interested