Now a requirement came to add a header/footer along with generated pdf when using VeryDOC Office to PDF Converter

Hi,

We have been using verydoc for office to pdf conversion.
Now a requirement came to add a header/footer along with generated pdf.
Just wondering if this feature already available or not.

Thanks,
Customer
------------------------------------------

image
Thanks for your message, you can use following options to add header/footer watermark to generated PDF files,

-wtext <string> : Watermark text on printed document
-wtext does support following dynamic values:
%PageCount%, %PageNumber%, %PageCountRoman%, %PageCountRoman2%,
%PageNumberRoman%, %PageNumberRoman2%, %Author%, %Keywords%,
%Subject%, %Title%, %Filename%, %Date%, %Time%
-wtype <int> : type of watermark
0 : normal watermark
1 : watermark on header
2 : watermark on footer
3 : Image Watermark, -wtext is the full path of image file
-wf <string> : font name of watermark
-wh <int> : font size of watermark
-wb : specify bold font
-wi : specify an italic font
-wu : specify an underlined font
-ws : specify a strikeout font
-wa <int> : angle of watermark
-wbox <string> : a rectangle to output formatted text, it is only useful for "-walign" option, eg:
-wbox "0,0,595,842"
-wbox "0,0,612,792"
-wbox "auto"
-walign <int> : set text align
1 : left
2 : center
3 : right
-wc <string> : color of watermark,
FF0000: Red color
00FF00: Green color
0000FF: Blue color
HexNum: Other colors
-wx <int> : X offset of watermark
-wy <int> : Y offset of watermark
-wpagebegin <int> : first page to add the watermark
-wpageend <int> : last page to add the watermark
-wpageoffset <int> : a value to be added to page number
-watermark <string> : Add a Text or Image watermark to PDF pages
-watermark2 <string> : Add a Text or Image watermark to PDF pages
-watermarkfile <string> : a .ini file which contain information for multiple watermarks

for example,

doc2any.exe -wtext "COPY" -wc "EDEDED" -wh 70 -wb -wtype 0 -useprinter -noretry -useoffice 0 "D:\example.rtf" "D:\_example.rtf.pdf"

doc2any.exe -webkit -margin-left 10 -margin-top 20 -margin-right 10 -margin-bottom 30 -header-html "D:\header.html" -footer-html "D:\footer.html" "D:\test-pagebreaks.htm" "D:\_out_test-watermark_with_html.pdf"

doc2any.exe -watermarkfile "D:\watermark2.ini" "D:\example.doc" "D:\_out_watermark_doc2pdf1.pdf"

doc2any.exe -webkit -watermarkfile "D:\watermark2.ini" "D:\test-pagebreaks.htm" "D:\_out_watermark_html2pdf2.pdf"

doc2any.exe -webkit -watermarkfile "D:\watermark3.ini" "D:\test-pagebreaks.htm" "D:\_out_watermark_html2pdf3.pdf"

doc2any.exe -webkit -margin-left 10 -margin-top 20 -margin-right 10 -margin-bottom 30 -watermarkfile "D:\watermark3.ini" "D:\test-pagebreaks.htm" "D:\_out_watermark_html2pdf4.pdf"

doc2any.exe -killoffice 0 -wtext "Copy" -wtype 0 -wh 200 -wc C0C0C0 -wa 45 "D:\example.docx" "D:\example.docx.pdf"

doc2any.exe -watermarkfile "D:\watermark.ini" "D:\example.doc" "D:\_out_7_watermark.pdf"

VeryDOC

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

This entry was posted in DOC to Any Converter and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!