<< Click to Display Table of Contents >> Navigation: PDF-XChange Standard > Customization > /SetOptions Command Line |
If profiles or multiple printers are used in order to utilize different settings options in PDF-XChange Printer Standard, then every setting in the printer is changed each time a new printer or profile is loaded. However, the pdfSaver.exe /SetOptions command line enables the setting of some printer options without modifying the other options. Please note the following:
•/SetOptions can be used to push only the settings defined in the command line used. This is very useful to administrators who wish to set certain options without modifying any other options that users may have set themselves.
•/SetOptions can take arguments directly at the command line or via a text file. This makes it simple for administrators to see and determine the intended setup. Note that both profiles and multiple printers are 'black boxes' in this context, as there is no simple method for looking into a profile file in order to see what it contains.
•/SetOptions can be applied to a specified printer and a profile.
Options can be direct arguments to PDFSaver.exe:
pdfSaver.exe /SetOptions optionname1=value1[;optionname2=value2] /Printer <PrinterName> [/Profile <ProfileName>] [/NoNotify]
This command line can be used to apply settings to PDF-XChange Printer Standard:
•SetOptions is the command called to set options.
•optionname[1] is the name of the first option to be set.
•value[1] is the value of the first option to be set.
•optionname[N] is the name of the "nth" option to be set.
•value[N] is the value of the "nth" option to be set.
•PrinterName is the name of the printer to which the options will be applied.
•ProfileName is the name of the profile to which the options will be applied.
•NoNotify is an optional parameter that prevents the sending of information about changes in the printers list to other applications.
Example
The following command line can be used to specify the generation of "PDF/A-2b" PDFs and to not run the PDF viewing application after file generation:
pdfSaver.exe /SetOptions "General.Specification=PDFA-2b;Save.RunApp=false" /Printer "PDF-XChange Standard"
Options can be stored in a text file and passed to PDFSaver.exe:
pdfSaver.exe /SetOptions @optionslistfile /Printer <PrinterName> [/Profile <ProfileName>] [/NoNotify]
This command line can be used to apply settings to PDF-XChange Printer Standard:
•SetOptions is the command called to set options.
•@optionslistfile is the name of the text file that contains a plain text list of options to be set. The options file must be in plain text format and contain one option name and its value per line, with each line separated by an equals (=) operator.
•PrinterName is the name of the printer to which the options will be applied.
•ProfileName is the name of the profile to which the options will be applied.
•NoNotify is an optional parameter that prevents the sending of information about changes in the printers list to other applications.
Example
The following command line can be used to specify an optionslistfile to define options:
pdfSaver.exe /SetOptions @c:\documents\opt.lst /Printer "PDF-XChange Standard"
All current settings can be exported as a list alongside their respective optionname. Note that output can be to Standard Out (terminal) or a file, and that anything after a ";" is as a comment and has no functional value. This method is an effective way to get the correct optionname in order to apply a different value later. The syntax for the /Dump Options command line is as follows:
pdfSaver.exe /DumpOptions [<dest_file_name>] /Printer <PrinterName> [/Profile <ProfileName>]
This command line lists all settings of the printer specified. If <dest_file_name> is not specified then settings will be listed in the console window.
•DumpOptions is the command called to export options.
•dest_file_name is the name of the text file to which the options will be exported.
•PrinterName is the name of the printer to which the options will be applied.
•ProfileName is the name of the profile to which the options will be applied.
Example
The following command line will list all settings in the console window:
C:\Program Files\Tracker Software\PDF-XChange Standard>pdfSaver.exe /DumpOptions /Printer "PDF-XChange Standard"
C:\Program Files\Tracker Software\PDF-XChange Standard>Printer: 'PDF-XChange Standard' Profile: '<current>' Version: 7.0 build 328.2 ================================= Misc.AltDash=1; Yes Name="" Save.File="%[DocName]" Save.Path="" Save.RunApp=1; Yes Save.AppName="" Save.SaveType=2; Save Save.AppParams="%f" Save.RunCustom=0; No Save.StripPath=0; No Save.AutoNumber.Start=1 Save.AutoNumber.NumDigits=3 Save.WhenExists=0; ShowWarning Save.UseLastPath=1; Yes Save.ShowSaveDialog=1; Yes EMail.Cc="" EMail.To="" EMail.Bcc="" EMail.ZIP=1; Yes EMail.From="" EMail.Method=0; LaunchClient EMail.Server="" EMail.Content="" EMail.Enabled=0; No EMail.Subject="" Fonts.Subset=1; Yes Fonts.EmbedAll=0; No Fonts.NeverEmbed.Fonts=";" Fonts.NeverEmbed.Enable=0; No Fonts.AlwaysEmbed.Fonts=";" Fonts.AlwaysEmbed.Enable=0; No Fonts.SubsetLevel=100 Fonts.EmbedProtected=1; Yes Fonts.EmbedTemporary=1; Yes Fonts.WriteToUnicode=0; No Links.Border.Type=0; None Links.Border.Color=16711680 Links.Border.Style=0; Solid Links.Border.Width=10 Links.Enabled=0; No Links.DetectFiles=0; No Links.CheckExistance=0; No Paper.DPI=300 Paper.Fit=1; Yes Paper.Nup=0 Paper.Size=1 Paper.Scale=100 Paper.Units=1 Paper.CWidth=2100 Paper.Center=1; Yes Paper.Margin=0 Paper.TopPos=0 Paper.Borders=0; No Paper.CHeight=2970 Paper.LeftPos=0 Paper.MirrorX=0; No Paper.MirrorY=0; No Paper.NupOrder=0; AcrossFromLeft Paper.PageScale=1000 Paper.GutterSize=127 Paper.LayoutType=0; Normal Paper.SheetWidth=2100 Paper.BookletType=0; Brochure Paper.Orientation=1; Portrait Paper.SheetHeight=2970 Paper.SheetsInBook=4 Paper.StdSheetWidth=2100 Paper.SheetSizeIndex=-1 Paper.StdSheetHeight=2970 Paper.SupportScaling=1; Yes Saver.EnvOrder="UAM" Saver.AddinFile="" Saver.ShowProgress=1; Yes Simple.RunApp=1; Yes Simple.EmbedAll=0; No Simple.Compression=0 Comment="" DigiSig.Top=254 DigiSig.Hash="" DigiSig.Left=254 DigiSig.Page=-1 DigiSig.Align=32 DigiSig.Store=0; System DigiSig.Width=508 DigiSig.DocMDP=2 DigiSig.Height=168 DigiSig.Reason="" DigiSig.Contact="" DigiSig.Enabled=0; No DigiSig.Graphic=2; Name DigiSig.PFXFile="" DigiSig.Location="" DigiSig.Invisible=0; No DigiSig.ShowFlags=191 DigiSig.PFXPassword="" DigiSig.GraphicFileName="" DocInfo.Title="" DocInfo.AddXMP=1; Yes DocInfo.Author="" DocInfo.Creator="" DocInfo.Enabled=0; No DocInfo.Subject="" DocInfo.Keywords="" DocInfo.AskForDocInfo=0; No General.HideUI=0; No General.PageMode=0; Default General.FitWindow=0; No General.OpenToPage=0 General.PageLayout=0; Default General.HideMenubar=0; No General.CenterWindow=0; No General.HideToolbars=0; No General.PageDuration=0 General.ShowDocTitle=0; No General.Specification=0; Auto General.TransDuration=1000 General.FullScreenMode=0; Default General.TransitionStyle=0; Replace General.MagnificationType=0; Default General.MagnificationLevel=100.000 Overlay.Fit=0; No Overlay.AlignH=1; Center Overlay.AlignV=1; Middle Overlay.Repeat=0; NoRepeat Overlay.Enabled=0; No Overlay.KeepAspect=1; Yes Overlay.OverlayFile="" Overlay.AsForeground=0; No Overlay.OverlayExtra=1; Yes Overlay.OverlayPassword="" Graphics.Color.Convert.Dither=1; Yes Graphics.Color.Convert.Method=0; None Graphics.Color.Downsample.To=96 Graphics.Color.Downsample.Method=0; None Graphics.Color.Downsample.IfAbove=128 Graphics.Indexed.Convert.Dither=1; Yes Graphics.Indexed.Convert.Method=0; None Graphics.Indexed.Downsample.To=96 Graphics.Indexed.Downsample.Method=0; None Graphics.Indexed.Downsample.IfAbove=128 Graphics.MonoAndDrawings.Convert.Method=0; None Graphics.MonoAndDrawings.Convert.Threshold=128 Graphics.MonoAndDrawings.Downsample.To=96 Graphics.MonoAndDrawings.Downsample.Method=0; None Graphics.MonoAndDrawings.Downsample.IfAbove=128 Security.Type=0; 40RSA Security.Enabled=0; No Security.Perms40.AllowCopying=0; No Security.Perms40.AllowChanging=0; No Security.Perms40.AllowComments=0; No Security.Perms40.AllowPrinting=0; No Security.Perms128.Changes=0 Security.Perms128.Printing=0 Security.Perms128.EncryptMeta=1; Yes Security.Perms128.AllowCopying=0; No Security.Perms128.ContentAccess=0; No Security.UserPassword="" Security.OwnerPassword="" Security.HasUserPassword=0; No Security.HasOwnerPassword=0; No Bookmarks.Enabled=0; No Bookmarks.Template="" Bookmarks.UpToLevel=1 Bookmarks.MatchLevel=0; No Bookmarks.DisplayMode=2; ByItem Bookmarks.AllowMultiLine=1; Yes Bookmarks.DocTitleAsRoot=0; No TimeStamp.Enable=0; No TimeStamp.ServerURL="" TimeStamp.ServerName="" TimeStamp.RequireAuth=0; No TimeStamp.ServerLogin="" TimeStamp.ServerPassword="" ExtraFiles.After.Enabled=0; No ExtraFiles.After.FileName="" ExtraFiles.After.Password="" ExtraFiles.Before.Enabled=0; No ExtraFiles.Before.FileName="" ExtraFiles.Before.Password="" RenderMode=-1; Auto Watermarks.Enabled=0; No Watermarks.Watermarks="" Compression.Mono.Method=0; Auto Compression.Mono.Enabled=1; Yes Compression.Mono.JBIG2Method=0; Standard Compression.Text=1; Yes Compression.ASCII=0; No Compression.Color.Method=0; Auto Compression.Color.Enabled=1; Yes Compression.Color.JPEGQuality=75 Compression.Indexed.Method=0; Auto Compression.Indexed.Enabled=1; Yes Compression.Graphics=1; Yes PrintContext.PrintingApp="" Optimizations.Blending=4; Darken Optimizations.DeTesselation=1; Simple Optimizations.EnableSwapping=1; Yes Optimizations.SwapToDiskLimit=1 Optimizations.UseMaskedImages=1; Yes Optimizations.UseTransparency=1; Yes Optimizations.GrayPaletteAsRGB=0; No Optimizations.ImagesOptimization=1; Yes HeadersFooters.Footer.Left.Font="Arial" HeadersFooters.Footer.Left.Color=0 HeadersFooters.Footer.Left.Value="" HeadersFooters.Footer.Left.FontBold=0; No HeadersFooters.Footer.Left.FontSize=100 HeadersFooters.Footer.Left.FontItalic=0; No HeadersFooters.Footer.Right.Font="Arial" HeadersFooters.Footer.Right.Color=0 HeadersFooters.Footer.Right.Value="" HeadersFooters.Footer.Right.FontBold=0; No HeadersFooters.Footer.Right.FontSize=100 HeadersFooters.Footer.Right.FontItalic=0; No HeadersFooters.Footer.Center.Font="Arial" HeadersFooters.Footer.Center.Color=0 HeadersFooters.Footer.Center.Value="" HeadersFooters.Footer.Center.FontBold=0; No HeadersFooters.Footer.Center.FontSize=100 HeadersFooters.Footer.Center.FontItalic=0; No HeadersFooters.Header.Left.Font="Arial" HeadersFooters.Header.Left.Color=0 HeadersFooters.Header.Left.Value="" HeadersFooters.Header.Left.FontBold=0; No HeadersFooters.Header.Left.FontSize=100 HeadersFooters.Header.Left.FontItalic=0; No HeadersFooters.Header.Right.Font="Arial" HeadersFooters.Header.Right.Color=0 HeadersFooters.Header.Right.Value="" HeadersFooters.Header.Right.FontBold=0; No HeadersFooters.Header.Right.FontSize=100 HeadersFooters.Header.Right.FontItalic=0; No HeadersFooters.Header.Center.Font="Arial" HeadersFooters.Header.Center.Color=0 HeadersFooters.Header.Center.Value="" HeadersFooters.Header.Center.FontBold=0; No HeadersFooters.Header.Center.FontSize=100 HeadersFooters.Header.Center.FontItalic=0; No HeadersFooters.Enabled=0; No HeadersFooters.OffsetTop=127 HeadersFooters.OffsetLeft=127 HeadersFooters.OffsetRight=127 HeadersFooters.OffsetBottom=127 HeadersFooters.FirstPageNumber=1 |