Home
Neevia docuPrinter SDK v6.7 user manual
Contents
1. End Sub Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Rane a ot 56 Example 6 Convert a PowerPoint document into PDF from Visual Basic using the docuPrinter PowerPoint Macro Sub PowerPointConverter Dim documentToConvert documentToConvert c test ppt Dim DPSDK Set DPSDK CreateObject docuPrinter SDK DPSDK BackupSettings DPSDK DocumentOutputFormat PDF DPSDK DocumentOutputName demoPPT2 DPSDK DocumentOutputFolder c DPSDK PDFAutoRotatePage PageByPage DPSDK HideSaveAsWindow true DPSDK DefaultAction 1 DPSDK ApplySettings Dim DPPPT Set DPPPT CreateObject docuPrinter PowerPointMacro DPPPT CTransition true DPPPT CHBookmarks true DPPPT CInternetLink true DPPPT CDoclnfo true DPPPT ConvertDocument documentToConvert Set DPPPT Nothing DPSDK RestoreSettings Set DPSDK Nothing MsgBox Done converting End Sub Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Rane aa Ore Example 7 Convert a MS Access report into PDF from Visual Basic Sub AccessConverter Dim DPSDK Set DPSDK CreateObject docuPrinter SDK DPSDK BackupSettings DPSDK DocumentOutputFormat PS DPSDK DocumentOutputName demoAccess DPSDK DocumentOutputFolder c DPSDK DocumentResolution 300 DPSDK HideSaveAsWindow true DPSDK DefaultAction 1 DPSDK ApplySettings Dim objAccess Set objAccess CreateObject Access Applicatio
2. JPEG low JPEG minimum ZIP Syntax DPSDK ColorCompressMethod value Data type String Note Will have effect only if DocumentOutputFormat PDF GrayCompressMethod Sets the gray images compression method Possible values Automatic JPEG maximum JPEG high JPEG medium JPEG low JPEG minimum ZIP Syntax DPSDK GrayCompressMethod value Data type String Note Will have effect only if DocumentOutputFormat PDF MonoCompressMethod Sets the monochrome images compression method Possible values CCITT Compress monochrome images using the CCITT group 4 fax compression method ZIP Compress monochrome images using ZIP compatible compression Syntax DPSDK MonoCompressMethod value Data type String Note Will have effect only if DocumentOutputFormat PDF ColorlmageResolution Sets the resolution for color images in the output document Possible values 10 2400 Syntax DPSDK ColorlmageResolution value Data type Long Note Will have effect only if DocumentOutputFormat PDF and DownsampleColorlmages true GraylmageResolution Sets the resolution for gray images in the output document Possible values 10 2400 Syntax DPSDK GraylmageResolution value Data type Long Note Will have effect only if DocumentOutputFormat PDF and DownsampleGraylmages true Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page ae of 56 MonolmageResolution Sets the
3. DocumentOutputFolder Sets the output folder Syntax DPSDK DocumentOutputFolder value Data type String Note If the output folder doesn t exist it will be automatically created DocumentOutputName Sets the output document name Syntax DPSDK DocumentOutputName value Data type String Note You can use the following variables title date guid time in the document name title will insert the document title as sent from the printing application date will insert the current date guid will insert a unique identifier time will insert the current time DocumentOutputFormat Sets the output format Possible values PDF PDFA PDFA2 PS EPS TXT JPG TIE PNG PCX BMP PSD PXL Syntax DPSDK DocumentOutputFormat value Data type String Note docuPrinter LT only supports PDF PDFA PDFA2 and PS output formats Note when PDFA is specified the output will be PDF A 1b To obtain a PDF A 2b file you ll have to use PDFA2 DocumentResolution Sets the output resolution in dpi Syntax DPSDK DocumentResolution value Data type String Note to specify horizontal and vertical resolutions insert x between them for ex DPSDK DocumentResolution 300x300 Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 FEE 11 0f 56 PDF Specific Properties DocumentTitle Sets the title field in the ou
4. Specifies the stamp opacity Default value 100 Syntax DPSDK StampOpacity value Data type Long StampRotate Specifies the stamp rotation angle Default value 0 Syntax DPSDK StampRotate value Data type Long StationeryFile Specifies a PDF file to use as stationery Syntax DPSDK StationeryFile value Data type String PlaceStationeryOnPages Specifies the pages to place stationery on Syntax DPSDK PlaceStationeryOnPages value Example DPSDK PlaceStationeryOnPages 1 4 Data type String Note Page numbers must be separated by commas To place watermark on all pages specify 0 Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Hoge 2 of 56 StationeryAsWatermark Place stationery under the original page content Default false Syntax DPSDK StationeryAsWatermark value Data type Boolean Stationery X Sets the stationery X coordinate Syntax DPSDK Stationery_X value Data type String Note Stamp coordinate depends on the page orientation For portrait oriented pages the coordinate system starts in the left bottom corner of the page Stationery_Y Sets the stationery Y coordinate Syntax DPSDK Stationery_Y value Data type String Note Stamp coordinate depends on the page orientation For portrait oriented pages the coordinate system starts in the left bottom corner of the page StationeryUnits Specifies the measurement units to use for Stati
5. tonal gradations GraylmageDownsampleType Sets the gray images downsample algorithm Possible values Bicubic Average Subsample Syntax DPSDK GraylmageDownsampleType value Data type String Note Will have effect only if DocumentOutputFormat PDF and DownsampleGraylmages true MonolmageDownsampleType Sets the monochrome images downsample algorithm Possible values Bicubic Average Subsample Syntax DPSDK MonolmageDownsampleType value Data type String Note Will have effect only if DocumentOutputFormat PDF and DownsampleMonolmages true Resampling monochrome images can have unexpected viewing results such as no image display If this happens turn off resampling and convert the file again This problem is most likely to occur with subsample and least likely with bicubic downsample algorithm Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 20 Ole PDF A Specific Properties Outputintent Sets the document output intent Possible values SRGB JC200103 FOGRA27 SWOP GRAY Syntax DPSDK Outputintent value Data type String Note Will have effect only if DocumentOutputFormat PDFA Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 21 of 56 PDF Encryption Properties All Neevia and Adobe products enforce the restrictions set by PDF Security encryption However not all third party products fully support
6. 43 CD OGIO i clasts ca A iaia 43 ESE RR NE OE EE EE RR EE dade N HD 43 LINKHISNI Nt EE N EE EE ON EE EE eeu 44 LINK CONOR tev RE EE ae e e RETRO A TR tds 44 FEMS BY RE N OE RE OR N RE EE nio 44 CBookNareDest ER ee Ke EE Fe und clea bese cies bel cadets die RR kke Ge dies A ee Ee ek Fe EER il 45 BOOKIMAarkD el AE EE N EE tati 45 Bookmark ETE RE ON KO IE OE ER OE EE 45 GCONVEFEDOCUMENT ER EE N EE N EE N EE EE EG 45 docuPrinter PowerPoint Macro csessssccsssssscccssssccccsssscccessscecsesssceenesseceesssssceasssseceassssceanssseceaessseseanssss 46 CTS A EN TE Re RI EE N N 46 CHBookmafkS i EE EE EE EE 46 ie eli ad Eli SEE EE OR ee RE ER iii 46 iS Blelel oie RE seeds sak ia cadets lt EN 46 Ela GER N N RE RE HE N OR EE oe EE NE EE N 47 akade OE N OE RE N TE N EA OR ME ona 47 LiNKGOlOrs sits ina tile Aah A RA AA alike dai aie eh iad dae 47 SA RE ED Ee DE N EE RI ste 47 Al GIET OD el N OE NE N HOE N NE TE EER N 48 BookmarkMagni 55 OE ds ER RE OR N ON EE N N EE OR N NE OE N 48 BlackAndWhitePrinting iii 48 CONVENTO OCUMENE sesti RO AREE EROE ER ER RE RE OE ENI 48 A MO RAN OR OR ER EE EE 49 Example 1 Create a PDF file from Visual Basic ui 49 Example 2 Convert a MS Word document into PDF from Visual Basic i 50 Example 3 Convert a MS Word document into PDF from Visual Basic using the docuPrinter MS Word Macro AA AE AE ER OE N EE ORE N EE ta 51 Example 4 Convert a MS Excel document into PD
7. Activate XLDoc PrintOut False docuPrinter XLDoc Saved True XLDoc Close MSExcel Quit Set MSExcel Nothing Dim RVal RVal DPSDK Create Create output document If RVal lt gt 0 Then MsgBox Error while creating the document DPSDK RestoreSettings Set DPSDK Nothing MsgBox Done converting End Sub Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Rane 52 of 56 Example 5 Convert a MS PowerPoint document into PDF from Visual Basic Sub PowerPointConverter Dim documentToConvert documentToConvert c test ppt Dim DPSDK Set DPSDK CreateObject docuPrinter SDK DPSDK BackupSettings DPSDK DocumentOutputFormat PDF DPSDK DocumentOutputName demoPPT DPSDK DocumentOutputFolder c DPSDK PDFAutoRotatePage PageByPage DPSDK HideSaveAsWindow true DPSDK DefaultAction 1 DPSDK ApplySettings Dim MSPowerPoint Set MSPowerPoint CreateObject PowerPoint Application Dim PPTDoc Set PPTDoc MSPowerPoint Presentations Open documentToConvert 1 O 0 PPTDoc PrintOptions PrintInBackground 0 PPTDoc PrintOptions PrintColorType 1 PPTDoc PrintOptions ActivePrinter docuPrinter PPTDoc PrintOut O PPTDoc Close MSPowerPoint Quit Set MSPowerPoint Nothing Dim RVal RVal DPSDK Create Create output document If RVal lt gt 0 Then MsgBox Error while creating the document DPSDK RestoreSettings Set DPSDK Nothing MsgBox Done converting
8. ClnternetLink Specifies whether docuPrinter should convert PowerPoint hyperlinks into PDF links Possible values true false Syntax DP_PPT CinternetLink value CDoclnfo Specifies whether docuPrinter should convert PowerPoint document info such as author and keywords into PDF info Possible values true false Syntax DPSDK CDoclnfo value Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 46 0f 56 LinkType Specifies how the PDF link should look Possible values O invisible links 1 visible links with thin border 2 visible links with thick border Syntax DP_PPT LinkType value LinkHighlight Specifies how the PDF links should be highlighted when they are clicked Possible values 8 None 9 Invert 10 Outline 11 Inset Syntax DP PPT LinkHighlight value LinkColor Specifies the PDF link color Possible values O Black 1 Red 2 Green 3 Yellow 4 Blue 5 Magenta 6 Cyan 7 White Syntax DP_PPT LinkColor value LinkStyle Specifies the PDF link border style Possible values 0 Solid 1 Dashed Syntax DP_PPT LinkStyle value Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 47 of 56 BookmarkDepth Possible values 0 9 Syntax DP_PPT BookmarkDepth value BookmarkMagn Specifies the open magnification of the bookmark destination Possible values 8 Inherit Zoom 9 Fit
9. Properties CHBookmarks Specifies whether docuPrinter should convert word headings into PDF bookmarks Possible values true false Syntax DPWORD CHBookmarks value ClnternetLink Specifies whether docuPrinter should convert word hyperlinks into PDF links Possible values true false Syntax DPWORD CinternetLink value CCrosRef Specifies whether docuPrinter should convert MS Word cross reference links into PDF links Possible values true false Syntax DPWORD CCrosRef value CCrosDoc Specifies whether docuPrinter should convert MS Word cross document links into PDF links Possible values true false Syntax DPWORD CCrosDoc value Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 33 of 56 LinkFootEnd Specifies whether docuPrinter should convert MS Word footnotes and endnotes into PDF links to the respective citations Possible values true false Syntax DPWORD LinkFootEnd value CWordTextBox Specifies whether docuPrinter should convert Word text boxes into PDF article threads Possible values true false Syntax DPWORD CWordTextBox value CDoclnfo Specifies whether docuPrinter should convert MS Word document info such as author and keywords into PDF info Possible values true false Syntax DPWORD CDoclnfo value LinkType Specifies how the PDF links should look Possible values O invisible links 1 visible links with thin border 2 visib
10. and respect these settings Recipients using such third party products may be able to bypass some of the restrictions you have set PDFEncryption Specifies whether the output PDF document should be encrypted or not Possible values true false Syntax DPSDK PDFEncryption value Data type Boolean Note Will have effect only if DocumentOutputFormat PDF PDFEncryptionType Sets the PDF encryption algorithm Possible values 40 40 bits encryption Acrobat 3 and later compatible 128 128 bits encryption Acrobat 5 and later compatible 256 256 bits encryption Acrobat 9 and later compatible Syntax DPSDK PDFEncryptionType value Data type Long Note Will have effect only if DocumentOutputFormat PDF PDFUserPassword Sets the user password in the output document Users will be asked to enter this password before Acrobat Reader allows them to view the document Syntax DPSDK PDFUserPassword value Data type String Note Will have effect only if DocumentOutputFormat PDF PDFOwnerPassword Sets the owner password in the output document Users will be forced to enter this password before Acrobat Reader allows them to change the user password and security permissions Syntax DPSDK PDFOwnerPassword value Data type String Note Will have effect only if DocumentOutputFormat PDF Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 22 of 56 PDFNoCopyPermission Spe
11. disk 15MB free space recommended Output Formats If you have docuPrinter LT installed on the computer docuPrinter SDK only supports PDF PDF A and PostScript as output formats If you have docuPrinter Pro or TSE installed docuPrinter SDK supports the following output formats e PDF Portable Document Format v1 2 v1 3 v1 4 v1 5 v1 6 v1 7 e PDF A 1b e PostScript level 1 1 5 2 3 e TIFF uncompressed LZW Packbits G3 G4 e JPEG e PCX e PNG e BMP e EPSlevel1 1 5 2 3 e PSD Adobe PhotoShop e HP PCL XL color and mono e Text Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 SS Installing and Uninstalling Neevia docuPrinter SDK Before installing and or using this product please make sure you carefully read the copyright notice and agree to all of its terms If you have any guestions about the licensing agreement please feel free to call 954 981 9252 or email sales neevia com If you are using an earlier version of Neevia docuPrinter SDK on your system it is recommended that you uninstall it before installing Neevia docuPrinter SDK v6 5 To install Neevia docuPrinter SDK If you already have docuPrinter LT PRO or TSE installed on your computer download and save the http neevia com prods dpsdk exe file to your hard disk After downloading the file double click it and follow the instructions The installation procedure automatically detects your operating
12. docuPrinter should automatically rename form fields that have the same names so all the fields in the PDF document will have unigue names Possible values true false Syntax DPWORD RenameFormFields value HideTextinputBorder Specifies whether docuPrinter should disable the text field border in the PDF file Possible values true false Syntax DPWORD HideTextInputBorder value HideCheckBoxBorder Specifies whether docuPrinter should disable the checkbox field border in the PDF file Possible values true false Syntax DPWORD HideCheckBoxBorder value HideDropDownBorder Specifies whether docuPrinter should disable the combobox listbox field border in the PDF file Possible values true false Syntax DPWORD HideDropDownBorder value CComNotes Specifies whether docuPrinter should convert MS Word comments into PDF notes Possible values true false Syntax DPWORD CComNotes value Methods ConvertDocument Call this method to convert the specified Word document Syntax Res DPWORD ConvertDocument fileToConvert Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 42 of 56 docuPrinter Excel macro Class ID docuPrinter ExcelMacro Example Visual Basic Set DPXLS CreateObject docuPrinter ExcelMacro Delphi DPXLS CreateOLEObject docuPrinter ExcelMacro VC first add a reference in your project to docuPrinter library docuPrinter ExcelMacro DPXLS new docu
13. iaia 33 FALE MASKS Es T A EE ee wa dala Ee ee es ute Ee alano RS toss 34 User Interface specific properties cccccssssscccssssceccssssceccssssceccessscsecessscsecessssecesssssssessessssessessssessseeees 35 HideSaveAsWIindO Wi sits calle Re Ge Ee ei Ge ee ee 35 HideWatermarkBUtton ie ee sues EE ede eu Ee Ge oe se site sues Ge wise acs Ke ee ee Ge AE Re Re Ge Ke oe ee ee ee 35 HIGECONTIBUFEBUELON AR OE EE N RE EO eo 35 Hid EmailCBHeEKBOR ES EE cies GR cea cau ee Ge ii iia lana 35 HIDEV IEW CHECKBOX is EE EE Ee N GR Ee Seas GE ee Juve Ge Ee sues GO Ge de RE Ee ER GE EE GE oge de ee 35 HidePDFdesktopCheckBOX it Ns Eed EN de EES ER aaa 35 DefauKACHOR n Re ER ee ia ee ee ER EE Re Ge ides GO Re Ee 36 ViewDocumentAfterConversion se ee ER ER EE ER ER ER ER ER ER ER ER ee Ee ee ee RE ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee 36 EmailDocumentAfterConversion ee ee ee ee ee 36 OpenlnPDFdesktopAfterConversiON iss se i 36 ME RE RR Oe OE RR TE AE 37 NeWGUID ER EE lea 37 GetDetaultPrintelf ala added lik ek a ee eg AET Dee ee AE ee ea i 37 SetDetaultPrinter midis OR OO OR N OE OE ER OE OON OE OO ON 37 BackupSetting ss EE iL LL ARL ee Re RD LIA 37 A AAA A ee eg EG ee TRI 37 Nee Nadal ER AE AO OE N OO Buea AE ai Raa N 37 EES AO ER EE EE N N EE EA OIE DR RE OE EE N 38 TrueTypeFontDownloadOptiON iss ee ii 38 FileD lete ME A DS DE RE RN A A DE E EE ee ed 38 AAA N EE Ge LA
14. in PDFdesktop checkbox Note 6 on the screenshot Syntax DPSDK HidePDFdesktopCheckBox value Data type Boolean Note Will not work with docuPrinter LT Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 35 of 56 DefaultAction Specifies whether to show the The File already exists File already exists dialog Possible values Do you want to 0 show dialog Renae Existina Fie 1 hide dialog and replace existing file gie iaia 2 hide dialog and append to existing file _ Append to Existing File 3 hide dialog and insert before in the existing file 4 hide dialog and auto number target file Syntax Auto Number the Target File DPSDK DefaultAction value Insert Before ViewDocumentAfterConversion Specifies whether docuPrinter should open the document after the conversion in the default system viewer Will have no effect if there is no viewer associated with this particular output format in windows Syntax DPSDK ViewDocumentAfterConversion value Data type Boolean EmailDocumentAfterConversion Specifies whether docuPrinter should open the document after the conversion in the default system email client Will have no effect if there is no default email client defined in windows Syntax DPSDK EmailDocumentAfterConversion value Data type Boolean OpenInPDFdesktopAfterConversion Specifies whether docuPrinter should open the docum
15. nia 9 SARA AR EE AO OE EE EE OE OR ER EE EE ES 9 Output FormatSia isis concientes 9 Installing and Uninstalling Neevia docuPrinter SDK oooccccoooccnnnnonccnnnoncccnnnonccccnnoncccnononccccnnonocccnonoccnnos 10 Neevia docuPrinter SDK COM 0bject EE ee sees n dees Ed ede n eed Ed ego N eed EE Ee Ee Ed ee oe EE Ge SES ee Ee 12 Neevia docuPrinter SDK NET assembly i s eise ss es ee NG ee se se oe ed we eb SE ee De Ee oe ke we GEE ee GEED GR EN ee se Ed 12 Neevia docuPrinter SDK Type Library TLB file esse ss ee see EE ER EE EE RR AR AA ERGE EE RR AR AE GE RR AR 12 eed EE EN EE N EE RR EE 13 DocumentOutputFolder se ee AE EE ER RA AA EE EE Ee Re AA Ee EE Ee Re ee AA Ee Ee Re de ee ee ee ede ee ee ee AE ee Ee de 13 DocumentOutoutNani sissies sore SN tii 13 DocumentOutputFormati aa EE EE Ee Ee ee EE ahs eyes Ge Ge EG HK AL 13 DocdrmentResolutiOR EE n ee O Ee ee ge ee ee dea 13 PDF Specific Properties n edge be Ee ee Ee E Ge ee eg Se De DR De DE Ee De De ed DR GE Gee Se 14 Document icon OE EE EE 14 DOGUMENTAUTN OF GEE OO OE EE EE EE EE 14 DocumentSubject iii OE OE EE EE 14 DOCUMENTKEY eds EA N N EE N N N 14 OptimizePDFfor iii as EE ad 14 AE ELI ie ER RA ANAL RE S EE 15 plae fe ei old ie EE EE OE N EE EE 15 PDEAUtOROtatePag 6 Ee Se gesa ER RE ae castes Ee RE De ER EE n Ee RE ROSE GE ee Re oge Ee ee AA Re SEE Re EO EER EE Ee edad 16 PDFEMDEGAIFONtS N EE ER OE 16 PDFProce ssColorModel RE
16. page width to window 10 Fit page height to window 11 Fit page to window Syntax DP_PPT BookmarkMagn value BlackAndWhitePrinting Specifies whether docuPrinter should convert the PowerPoint document into a B amp W PDF file Possible values true false Syntax DP_PPT BlackAndWhitePrinting value Methods ConvertDocument Call this method to convert the specified PowerPoint presentation Syntax Res DP_PPT ConvertDocument fileToConvert Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 48 of 56 Examples For more code samples visit http neevia com support examples dpsdk Example 1 Create a PDF file from Visual Basic Sub HelloWorld Dim DPSDK Set DPSDK CreateObject docuPrinter SDK DPSDK BackupSettings Dim printerFound printerFound False Dim objPrinter For Each objPrinter In Printers If objPrinter DeviceName docuPrinter Then printerFound True Set Printer objPrinter Exit For End If Next If Not printerFound Then MsgBox Printer not found Exit Sub End If DPSDK DocumentOutputFormat PDF DPSDK DocumentOutputName demoVB DPSDK DocumentOutputFolder c DPSDK HideSaveAsWindow true DPSDK DefaultAction 1 DPSDK ApplySettings Printer FontName Times New Roman Printer FontSize 48 Printer Print Hello from Visual Basic Printer EndDoc RVal DPSDK Create Create output document If RVal lt gt 0 Then MsgBox
17. resolution for monochrome images in the output document Possible values 10 2400 Syntax DPSDK MonolmageResolution value Data type Long Note Will have effect only if DocumentOutputFormat PDF and DownsampleMonolmages true DownsampleColorlmages Specifies whether color images in the output document should be downsampled or not Possible values true false Syntax DPSDK DownsampleColorlmages value Data type Boolean Note Will have effect only if DocumentOutputFormat PDF DownsampleGraylmages Specifies whether gray images in the output document should be downsampled or not Possible values true false Syntax DPSDK DownsampleGraylmages value Data type Boolean Note Will have effect only if DocumentOutputFormat PDF DownsampleMonolmages Specifies whether monochrome images in the output document should be downsampled or not Possible values true false Syntax DPSDK DownsampleMonolmages value Data type Boolean Note Will have effect only if DocumentOutputFormat PDF MaxinlinelmageSize Specifies the maximum size of an inline image in bytes Default value 4000 Syntax DPSDK MaxInlinelmageSize value Data type Integer For images larger than this size docuPrinter will create a XObject instead of embedding the image into the context stream Note that redundant inline images must be embedded each time they occur in the document while multiple references can be made to a single XObject image Ther
18. uninstall is complete Shared files that are no longer in use are deleted automatically without prompting Any critical error messages will still be shown on the screen When VERYSILENT is specified the uninstallation progress window is not displayed If a restart is necessary and the NORESTART command isn t used see below and VERYSILENT is specified the uninstaller will reboot without asking NORESTART Instructs the uninstaller not to reboot even if it s necessary Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Rage lol es NOTE Before calling the docuPrinter SDK COM object make sure that you have docuPrinter LT PRO or TSE installed Neevia docuPrinter SDK COM object Class ID docuPrinter SDK Example Visual Basic Set DPSDK CreateObject docuPrinter SDK Delphi DPSDK CreateOLEObject docuPrinter SDK ASP Set DPSDK Server CreateObject docuPrinter SDK VC first add a reference in your project to docuPrinter library docuPrinter SDK DPSDK new docuPrinter SDK Neevia docuPrinter SDK NET assembly The docuPrinter SDK NET assembly is located under C program files x86 neevia com docuPrinterSDK Net Neevia docuPrinter SDK Type Library TLB file The docuPrinter SDK Type Library is located under C program files x86 neevia com docuPrinterSDK TLB Neevia docuPrinter SDK user s manual Page 12 of 56 version 6 7 last modified on 10 12 2015 8 Properties
19. 5 Page 2 of56 c Operating system or Language versions If you receive two or more copies of the Software with different operating systems or language versions the total aggregate number of computers on which all versions of the Software are used may not exceed the Permitted Number of Computers You may not rent lease sublicense lend or transfer versions or copies of the Software you do not use or Software contained on any unused media d Archiving You may make one copy of the Software solely for archival purposes If the Software is an upgrade you may use the Software only in conjunction with upgraded product If you receive your first copy of the Software electronically and a second copy on media afterward the second copy can be used for archival purposes only For all Neevia Technology products you agree that you will only use our software on a server and all applications that will access the server will reside on the server and you will not permit remote access to the software except through your application residing on the server You agree to surrender your license s if you violate this agreement If you violate this agreement you will not receive a refund upon termination of this license You agree not to utilize our software to violate the copyright of any third parties If you do violate the copyright of a third party utilizing our software you agree to hold Neevia Technology harmless and will indemnify Neevia Technology for a
20. BE SUBJECT TO LEGAL ACTION BY NEEVIA TECHNOLOGY Subject to the payment of applicable license fees Neevia Technology grants you a nonexclusive right to use its accompanying Neevia software product and related documents the Software in the terms and conditions provided as follow LICENSE Until such time as Neevia Technology has issued a valid serial number to you you may only use this software for a 30 day trial period You agree to remove any copies of the software after the expiration of the trial period No license is issued to you until you are issued a valid serial number You cannot use a license for the software concurrently on different computers You may install and use the Software in a single location on a hard disk or other storage device of one computer only a Personal Use The primary user of each computer on which the Software is installed or used may also install the Software on one home or portable computer However another person may not use the Software on a secondary computer at the same time the Software on the primary computer is being used b Server or Network Use You may keep one copy of the Software on a single file server only for the purposes of downloading and installing the Software onto a hard disk of up to the Permitted Number of Computers that are on the same network as the file server No other network use is permitted Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 201
21. ER ER EE OE EE 16 PDFCOMpressP ages iii N EO EE EE OE OE AE 16 AR Te id sea EO OE ER ER OE 16 AR dele NE eta AE N EE EE EO OE 17 ConvertCMYKlMagesToRGB OE N EE ira 17 ooie diere old oi MR AE EO ER EE OE 17 COMpressGraylMagEsS ccicoocci OE A EE EE EE EE EE OO OE OE EE OE 17 Ge Teld EA e dale ai RE OE OE OE OE EE EE EE ci 17 ColorCompr ssMetho a eis EE n 18 GrayCompres IE dale dais 18 MonoCompressMethodi iis is ESE id 18 Color imageResolUtiON EER ER EE EE OS EE ER DE RE Ee 18 Grav lifmase RESOMIGION is DE SE EE E ED o 18 MONOIMASERESOIUTION EE NO cee tesa ee EA tai 19 Downsample olorimagEs ii EE ile GE De EE lana dia 19 Downsample ravlma es si EES Ee ee ia 19 Downsampl eMonolmages ii SE Ee ee GE ea Ee ee 19 MaxInlinelmapesize atelier 19 ColorimageDownsampleTyp inraree aladino 20 GrayImageDownsambpleTyp erat asili tia 20 MonolmageDownsamDpleTYpe iese EE SE De Ee EE Ge di 20 PDE A Specific Properties issie ses esse sek Ee Re es Deeg ede N eke Pe ik gee de ee ge on Ee ee es ee ee ge gee 21 Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 PARE 2 ORSe OutputintenE EE A Re RE GR GER De Ene ge Ee eg kke ed 21 PDF Encryption Properti S sesse ses ke ss seg r ek EE Ge Ge week dd E Ge dd ke ed se a ek oi ee De ds 22 PDFENEeryption lenire EE EE OE OE ae EE EE OE i 22 PDEENEGFYDTIONTYDE ESE ccs cos sees Eie EE A sue Kees EG ER Ge dan GR GE GE due Ke Ee ss Pe 22 PDFUSErPaSSW
22. Error while creating document DPSDK RestoreSettings Set DPSDK Nothing MsgBox Done End Sub Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 49 of 56 Example 2 Convert a MS Word document into PDF from Visual Basic Sub WordConverter Dim docToConvert docToConvert c test doc Dim DPSDK Set DPSDK CreateObject docuPrinter SDK DPSDK BackupSettings DPSDK DocumentOutputFormat PDF DPSDK DocumentOutputName demoDOC DPSDK DocumentOutputFolder c DPSDK HideSaveAsWindow true DPSDK DefaultAction 1 DPSDK ApplySettings Dim MSWord Set MSWord CreateObject Word Application MSWord DisplayAlerts False On Error Resume Next Dim NewDoc Set NewDoc MSWord Documents Open docToConvert False True If Err lt gt 0 Then Set MSWord Nothing Exit Sub End If Dim MSWordDialog Set MSWordDialog MSWord Dialogs 97 MSWordDialog Printer docuPrinter MSWordDialog DoNotSetAsSysDefault 1 MSWordDialog Execute NewDoc PrintOut False NewDoc Close False MSWord Quit False Set MSWord Nothing Dim RVal RVal DPSDK Create Create output document If RVal lt gt 0 Then MsgBox Error while creating the document DPSDK RestoreSettings Set DPSDK Nothing MsgBox Done converting End Sub Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 50 of 56 Example 3 Convert a MS Word document into PDF from Visual Bas
23. F from Visual Basic 52 Example 5 Convert a MS PowerPoint document into PDF from Visual BasiC i 53 Example 6 Convert a PowerPoint document into PDF from Visual BaSiC ii 54 Example 7 Convert a MS Access report into PDF from Visual BasiC ii 55 Example 8 Convert an URL HTML into PDF from Visual BaSiC 56 Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Pass oes Introduction docuPrinter SDK is a software development tool that can be used by developers and programmers to control docuPrinter LT Pro or TSE and programmatically create PDF or Image files from their own applications docuPrinter SDK works on every Windows operating system from Windows 2000 to Windows Server 2008 and because it includes both C C libraries and ActiveX controls the functionality of the product can be accessed from most programming languages like C C Visual Basic Delphi MS FoxPro and MS Access docuPrinter SDK is also NET compatible meaning that VB NET C and J programmers can also take full advantage of the product System Requirements Supported Operation Systems The operating systems listed below both 32 and 64 bit have been tested with docuPrinter SDK and are officially supported Windows XP 2003 Vista 7 2008 2012 8 10 Recommended hardware e Standard PC SOOMHz or faster compatible x86 processor e RAM 512MB RAM minimum e Hard
24. Neevia docuPrinter SDK user s manual version 6 7 Neevia docuPrinter SDK user s manua n 6 7 last mo Le da n 10 12 2015 Page Lors6 License Agreement ELECTRONIC END USER LICENSE AGREEMENT For One 1 Computer This is an End User License Agreement This is a contract If you install this software you must abide by the terms of this agreement This license is applicable to all software products sold by Neevia Technology The term software includes upgrades modified versions or updates This software is licensed and not sold Only a personal non transferable and nonexclusive right to use the Neevia products is granted to the end user The following are definitions that should be noted by the user a COMPUTER This is a single computer owned rented or leased by a single individual or entity on which one or more applications load and execute software in the memory space of that computer Software is installed on a server for one or more users All servers must be licensed to utilize Neevia software THIS IS A CONTRACT BETWEEN YOU AND NEEVIA TECHNOLOGY YOU SHOULD CAREFULLY READ THIS LICENSING AGREEMENT AND MUST ACCEPT ALL THE TERMS AND CONDITIONS BEFORE INSTALLING THIS NEEVIA SOFTWARE BY INSTALLING THE SOFTWARE YOU ARE AGREEING TO BE BOUND BY THE TERMS AND CONDITIONS OF THIS LICENSE IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE DO NOT INSTALL THE SOFTWARE AND DO NOT USE THE SOFTWARE IF YOU VIOLATE THIS AGREEMENT YOU WILL
25. ONG RE EE ARNO OR OE RE OOG 22 PDEOWNerPasswoFrd ie ena Ee ee es GRA Ke GR O sus Ee Sek Ek es GR Pe ee GR VER ee Ee ER oe ek ees Se ve at 22 PDENO COpYPerMISSIOP Ee ul 23 PDENOPTINtP ler Meana llenan ones 23 pale DM dei EES AE OE RE ER OR da OE ODE 23 PDENoAddPermisSiON ir ai eie es GRA A sass Ee Sek Ek es GR Pe ee Ge WER ee Ee ER oe eke Se ve et 23 PDECONTENTACCOSS lr ashes cau Ge Ra EE EE ails oa ENI ee ed a nt GR oe Ge Es Ee eN sege n ee 23 PDFAIIoWExtraction am i ER TE ER EE RE ie 24 PDFCharigesAllOwed RR OR EE EE RE ER OR EE EE RE OE N 24 PDEPriNtiINEP FMISSIONS ES EE estes ensue PER SEER ots Sas KEES ER ve ER SR GR Ges suds Ke eu ER Pe Ke Ge SE Res des Ke Ee sg ER Pe 24 PDF Viewer specific properties ss ees ss ee ee RR EE EE RR AE EE RR AE ERNA RR AE EE RR AE ER RR AE ER RR AE ER AE ER RR EE ER Ee ES 25 HIGETOOIB A ii fc OE ER RE EO EE OR OE RE RED 25 HIideMEnuBal a OO OE i 25 HideMainWindoW sdia NN 25 PDFOpenviewW Lia AA LA Ie EE EA OR OE run 25 PDFOpenAtPage uii ii A Ge ER Ee EG Ls A RAIL LL LEA 25 PDFOpenMagnification iii 26 PDEPagelaVOUt Ek MIA A es A 26 Watermark and Stationery Properties ccssssccccsssscccssssccccsssscsccesssseccessssccanssssscessssscaessssscacssssssensses 27 NN OT A OE RE OE i OE OO EE RE N 27 Seale dese ee OE AE EN OE EE RE ORE MOE N 27 StaMpPFONtSIZe si eis EE I EE OE N 27 StaMpMessage RE RE ER OR OR N EE RE OE EE OR ON NE OE N 27 SMPDraWMOde NE OE OE EE EE O
26. PEGImageQuality value Data type Long Note Will have effect only if DocumentOutputFormat JPG and will work with docuPrinter Pro and TSE JPEGImageQuality sets the output quality level according to the widely used IJG quality scale which balances the extent of compression against the fidelity of the image when reconstituted Lower values drop more information from the image to achieve higher compression and therefore have lower quality when reconstituted MultipageTiff Specifies whether docuPrinter should create multipage tiff files Possible values true false Syntax DPSDK MultipageTiff value Data type Boolean Note Will have effect only if DocumentOutputFormat TIF and will work with docuPrinter Pro and TSE If you set MultipageTiff false docuPrinter will create a single page tiff file for each page of the original document TiffFillOrder Sets the fill order for the TIFF output format Possible values Isb2msb msb2Isb Syntax DPSDK TiffFillOrder value Data type String Note Will have effect only if DocumentOutputFormat TIF and will work with docuPrinter Pro and TSE TextAplhaBits This option controls the use of subsample antialiasing for text content The subsampling box size should be 4 bits for optimum output but smaller values can be used for faster rendering Possible Values 0 1 2 4 Syntax DPSDK TextAplhaBits value Data type Integer Note Will work with docuPrinter Pro and TSE Neevia do
27. Printer ExcelMacro Properties CHBookmarks Specifies whether docuPrinter should convert excel worksheet names into PDF bookmarks Possible values true false Syntax DPXLS CHBookmarks value ClnternetLink Specifies whether docuPrinter should convert excel hyperlinks into PDF links Possible values true false Syntax DPXLS CInternetLink value CDoclnfo Specifies whether docuPrinter should convert MS Excel document info such as author and keywords into PDF info Possible values true false Syntax DPXLS CDoclnfo value LinkType Specifies how the PDF links should look Possible values O invisible links 1 visible links with thin border 2 visible links with thick border Syntax DPXLS LinkType value Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Rane da ol s LinkHighlight Specifies how the PDF links should be highlighted when they are clicked Possible values 4 None 5 Invert 6 Outline 7 Inset Syntax DPXLS LinkHighlight value LinkColor Specifies the PDF link color Possible values O Black 1 Red 2 Green 3 Yellow 4 Blue 5 Magenta 6 Cyan 7 White Syntax DPXLS LinkColor value LinkStyle Specifies the PDF link border style Possible values 0 Solid 1 Dashed Syntax DPXLS LinkStyle value Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 44 of 56 CBookNameDe
28. R EE ON EE OE N 28 PlaceStampONP HORE N OE OR N N N N N IE OE N OE N 28 Water Mark ida Ee AO a RR iis AO ee ain A ea ind and 28 ETER AR RE EE EE OR ON OR N N ET N OE OON 28 Stamp YE A eee EE Ge Ge ER ee Ge Ge A A Ee GE Ee ee gel 29 SCAM PW MAIS E EE EE ce GE Ee EE RO E E GE ee ee ee Ee gee ee 29 StanipOpaEity EE ee a ee AA 29 S162111 81101 E RR OO N OR dees Shock KT AO OE EA OK 29 Stationeryeile asfalata 29 PlaceStationeryONnPageS Ee ES SE ve es EE See ge ke ESE EE eke A ve ke DE ES DE ed ES De GE Eg Ee 29 StationeryAsWatermark si ee GEED EE GE GESE De veces a is 30 Stationery AR AR AE N OE NR RE EA OE EE EE N OE NR N ON 30 O AA EA OE N OE OE OR ER OE EE AE N 30 Side Rad EE N N OE NR EE N OE RE ER N OE ia 30 StationeryQp tity AO OR ie La N ER N N N OR N 30 Side p Ida ies AR AO aa ed OR ON 30 Image specific properties iis SES SI REG EE GES GES Rg N Ge ee ek geed BE gede we Gee ER ne Ee gede De we Seep de be Se ne EE eed ie 31 ET RR RR N OR AA OR N N OE les EE EE EE EE EE 31 JPEG MiB Quilt AE RE OR EE ARE IE Ed 32 AS Ee AO AI N RA LE N ER LE ER EE EE id 32 TiffFill Order EE OE EE GE EG SE Ee GE aS iaia aaa 32 TextAPINa BITS AO HARE OR OR AE EE IE OR OE HE EE Ie 32 ET 9 a1 ey 1 La ie OE ER AE RA ER OE EE cita 33 Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Pase DORE USECIEG OOM DE vas dys Oe DEE ALLA Ee Ee GE Aiuto 33 aid gelek Eis RR ER OE ER ER EE OR AE EO E 33 VS WT Sissies es ed ee ee anelli
29. RA 38 IVC EXISUS sorte zaini ke OE T E Ee AD EE 38 lees EE N EE EE EO OE TE 38 docuPrinter Word MaCFO issie esse sesde De ge GE coronan as SG Ne EE erat de od de GE Do ee Ge ee Ge Do og da ee Ge 39 CHBOOKIMArKS RR ER OR OR N OE EE OR EE EO OE OE N 39 CINTErNetLink EES RED coda ER GED GE AE De ee ee ee ee AA E ee eed 39 CErOSRER EE RE ME OR OE DOE N OR OE OK OE N OE OO OT 39 EELOSDOEL aan 39 EI KE OOUEIM GH ios simil do ee A DA N ail 40 GW ONG TERTBORD ee ee terra E EE Ee ar ee eed 40 EDoelnio ati ARA we aoa ta ah AA A OO ANO 40 Ela LAV eN RE OR TEN ER RR N EN 40 LinkHighlight EA RE A OE IR EN 40 Ba Solo ER AA eee 41 El ed RE E EA AE AE OR vas EE N anni 41 CBOOkNameDest SR RE EG Ge GN EG ira tetra 41 BOOkMarkDe AA OE AE EN a ED 41 BOOK MAITKMIEN fees AL AI AO KEN a OR LE RO aria 41 CROMM Piel GS ii EER EE E EG necia Ee 42 R nameFormEFieldeS ss seeds GE RE EG EE De GE AAA aaa ea 42 HiderextinputBordef ERGE A De EE obs ERG GE aaa 42 Hide he kBoxBorder EE arie ea 42 HideDropDownBorder Es RE EE GE se vanes Dee GE EE devas sche Ge ao ana 42 CCOMNOLES 2 0 EE OO MA OR N ER EE EE EE N AE EE EN 42 ConvertBocument i se Walsall ae ee Ge da i aa 42 Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page TOFS docuPrinter Excel MACHO sedisie ee se ss eds eg ee Se od oe ed oe is oe EE ee Be ee ee ed EE ee Se ee ge GR ke GED ee De Fe GR ede r eenen 43 CH ele Ee OR EE RE OE RE ER AE 43 ie age die EE RE RE EE RE
30. Tempered Screening algorithm should be used for halftoning Possible Values true false Syntax DPSDK UseWTS value Data type Boolean Note Will work with docuPrinter Pro and TSE If true then the Well Tempered Screening algorithm is used for halftoning Otherwise a rational tangent algorithm is chosen which will typically result in significant differences between the screen angle and ruling requested and actually rendered Currently the performance of WTS is reasonably good when rendering to a full page buffer but not optimized for banded mode Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 33 0f 36 FileMask When printing documents that have more than 1 page docuPrinter will produce an image file for each page of the original document The FileMask allows you to control how the single page files will be named if you set d docuPrinter will add the page number to the file name You can also control the number of digits used in the file name by replacing d with ONd where N is the number of digits you want to have for example 03d will force docuPrinter to produce files with names like this filename001 tif filename010 tif 04d will produce filename0001 tif filename0010 tif Syntax DPSDK FileMask value Example DPSDK FileMask d Data type String Note Will work with docuPrinter Pro and TSE Neevia docuPrinter SDK user s manual versi
31. WORDS document Keywords StampDrawMode Specifies the text rendering mode Possible values O Fill text no stroke default 1 Stroke text no fill 2 Fill then Stroke text 3 Invisible Syntax DPSDK StampDrawMode value Data type Long PlaceStampOnPages Specifies the pages to place watermark on Syntax DPSDK PlaceStampOnPages value Example DPSDK PlaceStampOnPages 0 Data type String Note Page numbers must be separated by commas To place watermark on all pages specify 0 Watermark Place watermark under the original page content Default false Syntax DPSDK Watermark value Data type Boolean Stamp_X Sets the watermark X coordinate Syntax DPSDK Stamp_X value Data type String Note Stamp coordinate depends on the page orientation For portrait oriented pages the coordinate system starts in the left bottom corner of the page Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 28 of 56 Stamp Y Sets the watermark Y coordinate Syntax DPSDK Stamp Y value Data type String Note Stamp coordinate depends on the page orientation For portrait oriented pages the coordinate system starts in the left bottom corner of the page StampUnits Specifies the measurement units to use for Stamp X Stamp Y properties Possible values 1 inches 2 centimeters 3 millimeters 4 points default Syntax DPSDK StampUnits value Data type Long StampOpacity
32. cifies whether the user of the output document is allowed to copy text and graphics from the document Possible values true false Syntax DPSDK PDFNoCopyPermission value Data Type Boolean Note Will have effect only if DocumentOutputFormat PDF and PDFEncryptionType 40 PDFNoPrintPermission Specifies whether the user of the output document is allowed to print the document Possible values true false Syntax DPSDK PDFNoPrintPermission value Data Type Boolean Note Will have effect only if DocumentOutputFormat PDF and PDFEncryptionType 40 PDFNoChangePermission Specifies whether the user of the output document is allowed to change the document Possible values true false Syntax DPSDK PDFNoChangePermission value Data Type Boolean Note Will have effect only if DocumentOutputFormat PDF and PDFEncryptionType 40 PDFNoAddPermission Specifies whether the user of the output document is allowed to add or change comments and form fields in the document Possible values true false Syntax DPSDK PDFNoAddPermission value Data Type Boolean Note Will have effect only if DocumentOutputFormat PDF and PDFEncryptionType 40 PDFContentAccess Specifies whether the user of the output document is allowed to use the document contents which is required to support the Acrobat Accessibility feature Possible values true false Syntax DPSDK PDFContentAccess value Data Type Boolean Note Will have effect only i
33. cuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 32 of 56 GraphicsAplhaBits This option controls the use of subsample antialiasing for graphics content The subsampling box size should be 4 bits for optimum output but smaller values can be used for faster rendering Possible Values 0 1 2 4 Syntax DPSDK GraphicsAplhaBits value Data type Integer Note Will work with docuPrinter Pro and TSE Note that because of the way antialiasing blends the edges of shapes into the background when they are drawn some files that rely on joining separate filled polygons together to cover an area may not render as expected with Graphics antialiasing at 2 or 4 bits If you encounter strange lines within solid areas try rendering that file again with Graphic antialiasing at 1 bit UseCIEColor Specifies whether docuPrinter should remap the device dependent color values through a CIE color space This can improve the conversion of CMYK documents to RGB Possible Values true false Syntax DPSDK UseCIEColor value Data type Boolean Note Will work with docuPrinter Pro and TSE Interpolate Specifies whether docuPrinter should use image interpolation Enabling image interpolation will result in higher quality for scaled images at the expense of speed Possible Values true false Syntax DPSDK Interpolate value Data type Boolean Note Will work with docuPrinter Pro and TSE UseWTS Specifies whether Well
34. efore it may be advantageous to set a small or zero value if the source document is expected to contain multiple identical images reducing the size of the generated PDF Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 paper ota ColorlmageDownsampleType Sets the color images downsample algorithm Possible values Bicubic Average Subsample Syntax DPSDK ColorlmageDownsampleType value Data type String Note Will have effect only if DocumentOutputFormat PDF and DownsampleColorlmages true To resample color grayscale or monochrome images docuPrinter combines pixels in a sample area to make one larger pixel You provide the resolution of your output device in dots per inch dpi and select the resample algorithm Average Downsample this algorithm averages the pixels in a sample area and replaces the entire area with the average pixel color at the specified resolution Subsample this algorithm chooses a pixel in the center of the sample area and replaces the entire area with that pixel at the specified resolution Subsample significantly reduces the conversion time compared with downsampling but results in images that are less smooth and continuous Bicubic Downsample this algorithm uses a weighted average to determine pixel color and usually yields better results than the simple averaging method of downsampling Bicubic is the slowest but most precise method resulting in the smoothest
35. ent after the conversion in Neevia PDFdesktop Syntax DPSDK OpenInPDFdesktopAfterConversion value Data type Boolean Note Will work with docuPrinter Pro and TSE Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page ae of 56 Methods NewGUID Return a unigue identifier Syntax value DPSDK NewGUID Data Type String GetDefaultPrinter Return the default system printer Syntax value DPSDK GetDefaultPrinter SetDefaultPrinter Sets the default system printer Syntax Res DPSDK SetDefaultPrinter printerName Remarks Res lt gt 0 on error BackupSettings Backup docuPrinter settings Syntax Res DPSDK BackupSettings Remarks Res lt gt 0 on error RestoreSettings Restores docuPrinter settings previously backed up using the BackupSettings method Syntax Res DPSDK RestoreSettings Remarks Res lt gt 0 on error ApplySettings Applies the settings to the docuPrinter Syntax Res DPSDK ApplySettings Remarks Res lt gt 0 on error Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 37 of 56 Create Call this method to create the output document Syntax Res DPSDK Create timeOut Parameters timeOut Optional Document creation timeout in seconds if the output document is not created within the specified timeout period Create will throw an error Remarks Res lt gt 0 on error TrueTypeFontDownloadOptio
36. f DocumentOutputFormat PDF and PDFEncryptionType 128 or 256 Do not mix this property with PDFNoCopyPermission PDFNoPrintPermission PDFNoChangePermission and PDFNoAddPermission properties Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 230f 56 PDFAIlowExtraction Specifies whether the user of the output document is allowed to select and copy the document contents Possible values true false Syntax DPSDK PDFAIlowExtraction value Data Type Boolean Note Will have effect only if DocumentOutputFormat PDF and PDFEncryptionType 128 or 256 Do not mix this property with PDFNoCopyPermission PDFNoPrintPermission PDFNoChangePermission and PDFNoAddPermission properties PDFChangesAllowed Specifies the allowed document changes Possible values None will prevent users from doing anything with the file including filling in signature and form Oo fields 1 Only Document Assembly will let users insert delete and rotate pages and create bookmarks and thumbnails 2 Only Form Field Fill in or Signing will let users sign and fill in forms but not create them Comment Authoring Form Field Fill in or Signing will let users do everything described in the 3 previous options plus add comments 4 General Editing Comment and Form Field Authoring will let users do anything to the document except extract contents and print Syntax DPSDK PDFChangesAllowed value Data T
37. ic using the docuPrinter MS Word Macro Sub WordConverter Dim docToConvert docToConvert c test doc Dim DPSDK Set DPSDK CreateObject docuPrinter SDK DPSDK BackupSettings DPSDK DocumentOutputFormat PDF DPSDK DocumentOutputName demoDOC DPSDK DocumentOutputFolder c DPSDK HideSaveAsWindow true DPSDK DefaultAction 1 DPSDK ApplySettings Dim DPWORD Set DPWORD CreateObject docuPrinter WordMacro DPWORD CHBookmarks true DPWORD CInternetLink true DPWORD CCrosRef true DPWORD CCrosDoc true DPWORD LinkFootEnd true DPWORD CWordTextBox true DPWORD CDoclnfo true DPWORD CBookNameDest true DPWORD CComNotes true DPWORD ConvertDocument docToConvert Set DPWORD Nothing DPSDK RestoreSettings Set DPSDK Nothing MsgBox Done converting End Sub Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 51 of 56 Example 4 Convert a MS Excel document into PDF from Visual Basic Sub ExcelConverter Dim docToConvert docToConvert c test xls Dim DPSDK Set DPSDK CreateObject docuPrinter SDK DPSDK BackupSettings DPSDK DocumentOutputFormat PDF DPSDK DocumentOutputName demoXLS DPSDK DocumentOutputFolder c DPSDK HideSaveAsWindow true DPSDK DefaultAction 1 DPSDK ApplySettings Dim MSExcel Set MSExcel CreateObject Excel Application MSExcel DisplayAlerts False Dim XLDoc Set XLDoc MSExcel Workbooks Open docToConvert O True XLDoc
38. ing NOCANCEL Prevents the user from canceling during the installation process by disabling the Cancel button and ignoring clicks on the close button Useful along with SILENT NORESTART Instructs Setup not to reboot even if it s necessary DIR x dirname Overrides the default directory name displayed on the Select Destination Directory wizard page A fully qualified pathname must be specified GROUP folder name Overrides the default folder name displayed on the Select Start Menu Folder wizard page user username company company name serial serial number Use these switches to pass the registration info username company name and serial number to the installer Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Rabe Hore To remove Neevia docuPrinter SDK from your system 1 Select Settings Control Panel from the Start menu 2 In the Control Panel click Add Remove programs and select docuPrinter SDK from the list 3 Click the Add Remove button to remove the program A confirmation prompt is displayed Unattended uninstall To perform an unattended silent uninstall launch unins000 exe from the folder where docuPrinter SDK has been installed with verysilent norestart command line switches Here is the full list of supported switches SILENT VERYSILENT When specified the uninstaller will not ask the user for startup confirmation or display a message stating that
39. le links with thick border Syntax DPWORD LinkType value LinkHighlight Specifies how the PDF links should be highlighted when they are clicked Possible values O None 1 Invert 2 Outline 3 Inset Syntax DPWORD LinkHighlight value Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 40 of 56 LinkColor Specifies the PDF link color Possible values 0 Black 1 Red 2 Green 3 Yellow 4 Blue 5 Magenta 6 Cyan 7 White Syntax DPWORD LinkColor value LinkStyle Specifies the PDF link border style Possible values O Solid 1 Dashed Syntax DPWORD LinkStyle value CBookNameDest Specifies whether docuPrinter should convert MS Word bookmarks into PDF named destinations Possible values true false Syntax DPWORD CBookNameDest value BookmarkDepth Possible values 0 9 Syntax DPWORD BookmarkDepth value BookmarkMagn Specifies the open magnification of the bookmark destination Possible values O inherit Zoom 1 Fitpagewidth to window 2 Fit page height to window 3 Fit page to window Syntax DPWORD BookmarkMagn value Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 41 of 56 CFormFields Specifies whether docuPrinter should convert MS Word form fields into PDF form fields Possible values true false Syntax DPWORD CFormFields value RenameFormFields Specifies whether
40. n Dim defPrinter defPrinter DPSDK GetDefaultPrinter DPSDK SetDefaultPrinter docuPrinter objAccess OpenCurrentDatabase c access mdb true objAccess DoCmd OpenReport rptCatalog O rptCtatalog is the repport name objAccess Quit 2 Set objAccess nothing RVal DPSDK Create Create output document If RVal lt gt 0 Then MsgBox Error Create returns CStr Rval DPSDK SetDefaultPrinter defPrinter DPSDK RestoreSettings Set DPSDK Nothing MsgBox Done converting End Sub Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Rane io 56 Example 8 Convert an URL HTML into PDF from Visual Basic Sub URLConverter Dim IE Set IE CreateObject InternetExplorer Application IE Visible true Dim DPSDK Set DPSDK CreateObject docuPrinter SDK DPSDK BackupSettings IE navigate2 http www neevia com DPSDK doSleep 100 While IE ReadyState lt gt 4 or IE Busy DPSDK doSleep 100 Wend DPSDK DocumentOutputFormat PDF DPSDK DocumentOutputFolder c DPSDK DocumentOutputName testURL DPSDK HideSaveAsWindow true DPSDK DefaultAction 1 DPSDK ApplySettings Dim defPrinter defPrinter DPSDK GetDefaultPrinter DPSDK SetDefaultPrinter docuPrinter IE ExecWB 6 2 Dim RVal RVal DPSDK Create If RVal lt gt 0 Then MsgBox Error while creating the document IE Quit DPSDK SetDefaultPrinter defPrinter Set IE Nothing DPSDK RestoreSettings Set DPSDK N
41. n Sets the docuPrinter TrueType font download option Possible values 0 default 1 download as outline 2 download as bitmap 3 download as native TrueType Syntax result DPSDK TrueTypeFontDownloadOption option Note MacOS X Preview doesn t support PDF files with custom true type font encoding Acrobat Reader for MacOS X displays this type of PDF documents without any problem A simple workaround is to force docuPrinter to produce PDF files with type1 PostScript fonts inside which are fully supported by MacOS X Preview for this set TrueTypeFontDownloadOption 1 FileDelete Delete file from disk Syntax result DPSDK FileDelete filename FilelnUse Check if the file is locked by another application Syntax result DPSDK FilelnUse filename FileExists Check if the file exists Syntax result DPSDK FileExists filename FileCopy Copy file to destination Syntax result DPSDK FileCopy inputfile outputfile Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 38 of 56 docuPrinter Word macro Class ID docuPrinter WordMacro Example Visual Basic Set DPWORD CreateObject docuPrinter WordMacro Delphi DPWORD CreateOLEObject docuPrinter WordMacro ASP Set DPWORD Server CreateObject docuPrinter WordMacro VCR first add a reference in your project to docuPrinter library docuPrinter WordMacro DPWORD new docuPrinter WordMacro
42. nt of information about the original document PDFLinearized Specifies whether the output PDF document should be linearized or not PDF linearization is a way to optimize PDF files for more efficient viewing over the web Pages are loaded faster and the user does not have to wait until the entire PDF file is uploaded by the browser Possible values true false Syntax DPSDK PDFLinearized value Data type Boolean Note Will have effect only if DocumentOutputFormat PDF and will not work if PDFEncryption true PDFCompatibilityLevel Sets the compatibility level a k a PDF version of the output PDF document Possible values 1 2 Acrobat Reader v3 and later compatible 1 3 Acrobat Reader v4 and later compatible 14 Acrobat Reader v5 and later compatible 1 5 Acrobat Reader v6 and later compatible 1 6 Acrobat Reader v7 and later compatible 1 7 Acrobat Reader v8 and later compatible Syntax DPSDK PDFCompatibilityLevel value Data type String Note Will have effect only if DocumentOutputFormat PDF Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 15 GSP PDFAutoRotatePage Sets the orientation of the output document based on text content Possible values None will disable the Auto Rotate page option PageByPage will rotate each page based on the direction of the text on that page All will rotate all pages in the document based on the orientation of the majority of text S
43. ny such activity even if the violation is unintentional COPYRIGHT The Software is owned by Neevia Technology and or its suppliers and is protected by the copyright and trademark laws of the United States and related applicable laws You may not copy the Software except as set forth in the License section Any copies that you are permitted to make pursuant to this Agreement must contain the same copyright and other proprietary notices that appear on or in the Software You may not rent lease sub license transfer or sell the Software You may not modify translate reverse engineer decompile disassemble or create derivative works based on the Software except to the extent applicable law expressly prohibits such foregoing restriction You may use the trademarks to identify the Software owner s name or to identify printed output produced by the Software Such use of any trademark does not give you any rights of ownership in that trademark NO WARRANTY LICENSED SOFTWARE S AS IS The Software is provided AS IS NEEVIA TECHNOLOGY AND ITS SUPPLIERS MAKE NO WARRANTIES EXPRESS OR IMPLIED AS TO THE MERCHANTABILITY QUALITY NONINFRINGEMENT OF THIRD PARTY RIGHTS FITNESS FOR A PARTICULAR PURPOSE AND THOSE ARISING BY STATUTE OR OTHERWISE IN LAW OR FROM A COURSE OF DEALING OR USAGE OF TRADE THE ENTIRE RISK AS TO THE QUALITY RESULTS BY USING THE SOFTWARE AND PERFORMANCE OF THE SOFTWARE IS WITH THE END USER Some states or jurisdictions do no
44. obe Acrobat Reader Syntax DPSDK HideMenuBar value Data type Boolean Note Will have effect only if DocumentOutputFormat PDF HideMainWindow Hide the main window when PDF is opened in Adobe Acrobat Syntax DPSDK HideMainWindow value Data type Boolean Note Will have effect only if DocumentOutputFormat PDF PDFOpenView Specifies the output document initial view Possible values Page only Page and bookmarks Page and thumbnails Full screen WN Fr Oo Syntax DPSDK PDFOpenView value Data type Long Note Will have effect only if DocumentOutputFormat PDF PDFOpenAtPage Specifies the page output document should open at Syntax DPSDK PDFOpenAtPage value Data type Long Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 25 of 56 PDFOpenMagnification Specifies the open magnification for the output document Possible values Default Fit Window Fit Width Fit Height Zoom 25 Zoom 50 Zoom 100 Zoom 125 NO UB WN FO Syntax DPSDK PDFOpenMagnification value Data type Long Note Will have effect only if DocumentOutputFormat PDF PDFPageLayout Specifies the output document page layout Possible values O Page only 1 Single Page 2 Continuous 3 Continuous Facing Syntax DPSDK PDFPageLayout value Data type Long Note Will have effect only if DocumentOutputFormat PDF Neevia docuPrinter SDK
45. ocuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 14 Choe e screen is for PDF files that will be displayed on the World Wide Web or an intranet or that will be distributed through an e mail system for on screen viewing This set of options uses compression downsampling and a relatively low resolution converts all colors to RGB maintains compatibility with Acrobat 3 0 to create a PDF file that is as small as possible e printer is for PDF files that are intended for desktop printers digital copiers publishing on a CD ROM or to send to a client as a publishing proof In this set of options file size is still important but it is not the only objective This set of options uses compression and downsampling to keep the file size down tags everything for color management and prints to a medium resolution to create a reasonably accurate rendition of the original document e prepress is for PDF files that will be printed as high quality final output to an imagesetter or platesetter for example In this case file size is not a consideration The objective is to maintain all the information in a PDF file that a commercial printer or service bureau will need to print the document correctly This set of options downsamples color and grayscale images at 300 dpi monochrome images at 1200 dpi embeds subsets of all fonts used in the file prints to a higher resolution and uses other settings to preserve the maximum amou
46. old the entire font is embedded Possible values 0 100 Syntax DPSDK PDFFontsMaxSubset value Data type Long Note Will have effect only if DocumentOutputFormat PDF ConvertCMYKImagesToRGB Specifies whether the CMYK images in the output document should be converted to RGB or not Possible values true false Syntax DPSDK ConvertCMYKImagesToRGB value Data type Boolean Note Will have effect only if DocumentOutputFormat PDF CompressColorlmages Specifies whether the color images in the output document should be compressed or not Possible values true false Syntax DPSDK CompressColorlmages value Data type Boolean Note Will have effect only if DocumentOutputFormat PDF CompressGraylmages Specifies whether the gray images in the output document should be compressed or not Possible values true false Syntax DPSDK CompressGraylmages value Data type Boolean Note Will have effect only if DocumentOutputFormat PDF CompressMonolmages Specifies whether the mono images in the output document should be compressed or not Possible values true false Syntax DPSDK CompressMonolmages value Data type Boolean Note Will have effect only if DocumentOutputFormat PDF Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 17 of 56 ColorCompressMethod Sets the color images compression method Possible values Automatic JPEG maximum JPEG high JPEG medium
47. on 6 7 last modified on 10 12 2015 Page 34 Ghee User Interface specific properties HideSaveAsWindow Specifies whether to show or hide the docuPrinter Save As window Syntax DPSDK HideSaveAsWindow value Data type Boolean Note 1 on the screenshot HideWatermarkButton Specifies whether to show or hide the Watermark button Syntax DPSDK HideWatermarkButton value Data type Boolean Note 4 on the screenshot HideConfigureButton Specifies whether to show or hide the Configure button Syntax DPSDK HideConfigureButton value Data type Boolean Note 5 on the screenshot HideEmailCheckBox am Save As Savein Ei Computer z Name Total Size Fi e Hard Disk Drives 3 Recent Places sys C SS 175 GB free of 78 1 GB New Volume D Y a A 139 GB free of 19 5 GB 0 data E rT Gas 57 2 GB free of 200 GB gt Devices with Removable Storage 1 a DVD RW Drive F document PDF document o View Output Com Computer _ CoRfigure Output Specifies whether to show or hide the Email Output checkbox Note 2 on the screenshot Syntax DPSDK HideEmailCheckBox value Data type Boolean HideViewCheckBox Specifies whether to show or hide the View Output checkbox Note 3 on the screenshot Syntax DPSDK HideViewCheckBox value Data type Boolean HidePDFdesktopCheckBox Specifies whether to show or hide the Open
48. onery_X Stationery_Y properties Possible values 1 inches 2 centimeters 3 millimeters 4 points default Syntax DPSDK StationeryUnits value Data type Long StationeryOpacity Specifies the stationery opacity Default value 100 Syntax DPSDK StationeryOpacity value Data type Long StationeryRotate Specifies the stationery rotation angle Default value 0 Possible values 0 90 180 270 Syntax DPSDK StationeryRotate value Data type Long Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 30 of 56 Image specific properties ImageType Specifies the output image subtype colors and compression algorithm Possible values jpegcmyk jpeg jpeggray pngmono pnggray png16 png256 png16m pcxmono pcxgray pcx16 pcx256 pcx16m pexcmyk bmpmono bmpgray bmp16 bmp256 bmp16m tiff12nc tiff24nc tiff32nc tiffl2nclzw tiff24nclzw tiff32nclzw tiffuncomp tiffpack tiffg3 tiffcrle Tiffg32d tiffg4 tifflzw psdrgb psdcmyk pxlmono pxlcolor Syntax JPEG output format CMYK colorspace JPEG output format full color RGB 24 bits JPEG output format grayscale PNG output format monochrome PNG output format grayscale PNG output format 16 colors PNG output format 256 colors PNG output format 16 million colors full color PCX output format monochrome PCX output format grayscale PCX output format 16 colors PCX output format 256 colors PCX output forma
49. ort the Software into any country or used in any manner prohibited by any export laws restrictions or regulations UPGRADES You must be properly licensed to install upgrades to Neevia Software products Neevia upgrades replace and or supplement the previous product that formed the basis for your eligibility to for the upgrade You may use the upgrade only in accordance with the terms of this Agreement Upgrades may not be separated and used on separate computers GOVERNEMENT USERS For United States government users the Software and associated Documentation are deemed to be commercial computer software and commercial computer documentation respectively pursuant to DFAR 227 7202 and FAR 12 212 b as applicable ENTIRE AGREEMENT You acknowledge that you have read this Agreement understand it and agree to be bounded by its terms and conditions It is the complete and exclusive statement of the Agreement between us which supersedes any proposal or prior agreement oral or written and other communication between us relating to the subject matter of this Agreement CONTACT INFORMATION NEEVIA TECHNOLOGY Tel 954 893 9343 Email info neevia com Web http neevia com Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 4 of56 Table of Contents Mo Ed RA AA OE EE EE OE EE N OE EE A N 1 LICENSE Vd TT TT RE ER OE ER EE N EE DE EE NE EE 2 Table of Contents L ssaa 5 Introduction Ee Ee
50. othing MsgBox Done converting End Sub Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Pag 56 0f 56
51. st Specifies whether docuPrinter should convert MS Excel worksheet names into PDF named destinations Possible values true false Syntax DPXLS CBookNameDest value BookmarkDepth Possible values 0 9 Syntax DPXLS BookmarkDepth value BookmarkMagn Specifies the open magnification of the bookmark destination Possible values 4 Inherit Zoom 5 Fit page width to window 6 Fit page height to window 7 Fit page to window Syntax DPXLS BookmarkMagn value Methods ConvertDocument Call this method to convert the specified Excel workbook Syntax Res DPXLS ConvertDocument fileToConvert Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 45 of 56 docuPrinter PowerPoint macro Class ID docuPrinter PowerPointMacro Example Visual Basic Set DP_PPT CreateObject docuPrinter PowerPointMacro Delphi DP PPT ss CreateOLEObject docuPrinter PowerPointMacro VCR first add a reference in your project to docuPrinter library docuPrinter PowerPointMacro DP_PPT new docuPrinter PowerPointMacro Properties CTransition Specifies whether docuPrinter should convert PowerPoint slide transition effects into PDF page effects Possible values true false Syntax DP_PPT CTransition value CHBookmarks Specifies whether docuPrinter should convert PowerPoint slide names into PDF bookmarks Possible values true false Syntax DP_PPT CHBookmarks value
52. system copies the needed files to your system directory and installs Neevia docuPrinter SDK If you don t have docuPrinter LT PRO or TSE installed on your computer download and install one of the above products then download and save the http neevia com prods dpsdk exe file to your hard disk After that double click on it and follow the instructions The installation procedure automatically detects your operating system copies the needed files to your system directory and installs Neevia docuPrinter SDK Unattended installation To perform an unattended silent installation launch docuPrinter SDK installer with sp verysilent norestart command line switches Here is the full list of supported switches SP Disables the This will install Do you wish to continue prompt at the beginning of Setup SILENT VERYSILENT Instructs Setup to be silent or very silent When Setup is silent the wizard and the background window are not displayed but the installation progress window is When a setup is very silent this installation progress window is not displayed Everything else is normal so for example error messages during installation are displayed and the startup prompt is if you haven t disabled it with SP command line option explained above If a restart is necessary and the NORESTART command isn t used see below and Setup is silent it will display a Reboot now dialog If it s very silent it will reboot without ask
53. t 16 million colors full color PCX output format CMYK 32 bits BMP output format monochrome BMP output format grayscale BMP output format 16 colors BMP output format 256 colors BMP output format 16 million colors TIFF output format RGB output 4 bits channel uncompressed TIFF output format RGB output 8 bits channel uncompressed TIFF output format CMYK output 8 bits channel uncompressed TIFF output format RGB output 4 bits channel LZW compressed TIFF output format RGB output 8 bits channel LZW compressed TIFF output format CMYK output 8 bits channel LZW compressed TIFF output format grayscale uncompressed TIFF output format grayscale Packbits Macintosh RLE compression TIFF output format grayscale G3 fax compression with EOLs TIFF output format grayscale G3 fax compression with NO EOLs TIFF output format grayscale G3 2D fax compression TIFF output format grayscale G4 fax compression TIFF output format grayscale LZW compression PSD Adobe PhotoShop output format full color RGB PSD Adobe PhotoShop output format full color CMYK PCL XL output format monochrome PCL XL output format full color DPSDK ImageType value Data type String Neevia docuPrinter SDK user s manual Page 31 of 56 version 6 7 last modified on 10 12 2015 8 JPEGImageOuality Sets the output document JPEG quality Possible values 0 100 75 is recommended Syntax DPSDK J
54. t allow the exclusion or limitation of incidental consequential or special damages or the exclusion of implied warranties or limitations on how long an implied warranty may last so the above limitations may not apply to you or your company LIMITATION OF REMEDIES AND LIABILITY NEEVIA TECHNOLOGY OR ITS SUPPLIERS OR RESELLERS SHALL NOT UNDER ANY CIRCUMSTANCE BE LIABLE TO YOU FOR ANY DAMAGES INCLUDING BUT NOT LIMITED TO SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES LOST PROFITS OR LOST SAVINGS OR FOR ANY CLAIM BY A THIRD PARTY ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE EVEN IF NEEVIA TECHNOLOLGY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES OR FOR ANY CLAIM BY ANY OTHER PARTY Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 page 3 0136 GENERAL This Agreement shall be construed interpreted and governed by the laws of the State of Florida excluding the application of its conflicts of law rules The United Nations Convention on Contracts of the International Sale of Goods will not govern this Agreement If any part of this Agreement is found void and unenforceable it will not affect the validity of the rest of the Agreement which shall remain valid and enforceable according to its terms If you need to redistribute this product with your own software products you need to contact Neevia and negotiate a separate licensing and royalty agreement You may not ship transfer or exp
55. tput document Syntax DPSDK DocumentTitle value Data type String Note Will have effect only if DocumentOutputFormat PDF DocumentAuthor Sets the author field in the output document Syntax DPSDK DocumentAuthor value Data type String Note Will have effect only if DocumentOutputFormat PDF DocumentSubject Sets the subject field in the output document Syntax DPSDK DocumentSubject value Data type String Note Will have effect only if DocumentOutputFormat PDF DocumentKeywords Sets the keywords field in the output document Syntax DPSDK DocumentKeywords value Data type String Note Will have effect only if DocumentOutputFormat PDF OptimizePDFfor Possible values default screen printer prepress Syntax DPSDK OptimizePDFfor value Data type String Note Will have effect only if DocumentOutputFormat PDF For your convenience there are several sets of predefined settings for creating PDF files These settings are designed to balance file size with quality depending on how the PDF file will to be used e default is intended to be useful across a wide variety of uses possibly at the expense of a larger output file All color and grayscale images are downsampled at 72 dpi monochrome images at 300 dpi subsets of all fonts used in the file are embedded and all information is compressed PDF files created using this setting are compatible with Acrobat 4 0 and later Neevia d
56. user s manual version 6 7 last modified on 10 12 2015 Page 26 of 56 Watermark and Stationery Properties StampFontName Sets the watermark font name Syntax DPSDK StampFontName value Data type String StampFontColor Sets the watermark font color Syntax DPSDK StampFontColor value Example DPSDK StampFontColor 0000FF Data type String StampFontSize Sets the watermark font size in points Syntax DPSDK StampFontSize value Data type Long StampMessage Sets the watermark text message Syntax DPSDK StampMessage value Data type String Note You can use the following variables PAGE current page number PAGES total number of pages WEEKDAY full weekday name WEEKDAY_SHORT abbreviated weekday name MONTH month number 1 12 MONTHNAME full month name MONTHNAME_SHORT abbreviated month name YEAR year with century YYYY YEAR_SHORT year without century YY DAY day of month DAY_YEAR day of the year 1 366 HOUR hour 01 12 HOURS hour 00 23 MINUTES minutes 00 59 SECONDS seconds 00 59 YAMPM AM PM DATE local date representation Ex 11 01 07 TIME local time representation Ex 1 17 10 PM Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 27 of 56 DATETIME local date and time AUTHOR document Author TITLE document Title SUBJECT document Subject KEY
57. yntax DPSDK PDFAutoRotatePage value Data type String Note Will have effect only if DocumentOutputFormat PDF PDFEmbedAllFonts Specifies whether the fonts in the output document should be embedded or not Possible values true false Syntax DPSDK PDFEmbedAllFonts value Data type Boolean Note Will have effect only if DocumentOutputFormat PDF PDFProcessColorModel Sets the color model for the output document Possible values DeviceRGB DeviceCMYK DeviceGRAY Syntax DPSDK PDFProcessColorModel value Data type String Note Will have effect only if DocumentOutputFormat PDF and will not affect images and shadings PDFCompressPages Specifies whether text and line art in the output document should be compressed or not Possible values true false Syntax DPSDK PDFCompressPages value Data type Boolean Note Will have effect only if DocumentOutputFormat PDF PDFSubsetFonts Indicates whether or not to include in the output document only those characters from a font that are used in the document Possible values true false Syntax DPSDK PDFSubsetFonts value Data type Boolean Note Will have effect only if DocumentOutputFormat PDF Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Page 16 of 56 PDFFontsMaxSubset Sets the SubsetFonts threshold If the percentage of used characters compared with total characters of the particular font exceeds this thresh
58. ype Integer Note Will have effect only if DocumentOutput format PDF and PDFEncryptionType 128 or 256 Do not mix this property with PDFNoCopyPermission PDFNoPrintPermission PDFNoChangePermission and PDFNoAddPermission properties PDFPrintingPermissions Sets the output document printing permissions Possible values O Not Allowed will prevent users from printing the document 1 Low Resolution will let users print but at a resolution that prevents from recreating the PDF file with different security settings Printing may be slower because each page will be printed as a bitmapped image 2 Fully Allowed will let users print at any resolution directing high quality vector output to PostScript and other printers that support advanced high quality printing features Syntax DPSDK PDFPrintingPermissions value Data Type Integer Note Will have effect only if DocumentOutputFormat PDF and PDFEncryptionType 128 or 256 Do not mix this property with PDFNoCopyPermission PDFNoPrintPermission PDFNoChangePermission and PDFNoAddPermission properties Neevia docuPrinter SDK user s manual version 6 7 last modified on 10 12 2015 Paga 24 Ghee PDF Viewer specific properties HideToolBar Hide the toolbar when PDF is opened in Adobe Acrobat Reader Syntax DPSDK HideToolBar value Data type Boolean Note Will have effect only if DocumentOutputFormat PDF HideMenuBar Hide the menu bar when PDF is opened in Ad
Download Pdf Manuals
Related Search
Related Contents
1756-RM093 - Rockwell Automation Vážený zákazníku, - 2N Telekomunikace Anttron TM220HD ResMed Oxygen Equipment VPAP ST User's Manual Kenroy Home 32543ORB Installation Guide Frigidaire 318203857 Range User Manual HMWIN Studio User Manual, ACGM0195V1EN Cables Direct 10m Cat5e 19_Octobre 2011 Copyright © All rights reserved.
Failed to retrieve file