{"id":1045,"date":"2012-05-30T06:12:00","date_gmt":"2012-05-30T06:12:00","guid":{"rendered":"http:\/\/online.verypdf.com\/?p=1045"},"modified":"2012-06-01T06:14:21","modified_gmt":"2012-06-01T06:14:21","slug":"office-to-pdf-command-line","status":"publish","type":"post","link":"https:\/\/online.verypdf.com\/blog\/office-to-pdf-command-line.html","title":{"rendered":"About Practical Office to PDF Command Line"},"content":{"rendered":"<p>Office to PDF Command Line allows you to convert files of Office to PDF with command line singly or in batches. In addition, this CMD application also support other source formats, e.g., XLS, XLSX, PPT, PPTX, ODT, ODS, ODP etc., and other objective formats, e.g., PS, EPS, SWF, SVG, HPGL, PCL, EMF, JPG, TIFF, GIF etc.. And users could edit properties of objective files in processes from Office to PDF, e.g., DOC to PDF, XLS to PDF.<\/p>\n<p>Want to experience Office to PDF Command Line right now, please <a href=\"http:\/\/www.verydoc.com\/doc2any_cmd.zip\">enter here<\/a>.<\/p>\n<p>Here is the usage of Office to PDF Command Line below:<\/p>\n<p align=\"center\"><strong>doc2any.exe [options] &lt;input file&gt; [&lt;output file&gt;] <\/strong><\/p>\n<p align=\"left\">where:<\/p>\n<ul>\n<li>\n<div align=\"left\"><strong>doc2any.exe <\/strong>is used for calling \u201cdoc2any.exe\u201d<\/div>\n<\/li>\n<li>\n<div align=\"left\"><strong>[options] <\/strong>could be any parameters for editing objective properties optionally<\/div>\n<\/li>\n<li>\n<div align=\"left\"><strong>&lt;input file&gt; <\/strong>stands for source path, which is used for adding source file<\/div>\n<\/li>\n<li>\n<div align=\"left\"><strong>[&lt;output file&gt;] <\/strong>stands for objective path, which is typed for exporting target file<\/div>\n<\/li>\n<\/ul>\n<p>Typical examples with Office to PDF Command Line are as follows, which could be helpful to you:<\/p>\n<p><strong>Note<\/strong>: the following input format could be replaced by another supported source format, which is suitable for objective format, if it is allowed and proper<\/p>\n<ul>\n<li>Basic single process<\/li>\n<\/ul>\n<p align=\"center\"><strong>doc2any.exe d:\\in.doc f:\\out.pdf <\/strong><\/p>\n<ul>\n<li>\n<div align=\"left\">Basic process in batches<\/div>\n<\/li>\n<\/ul>\n<p align=\"center\"><strong>doc2any.exe c:\\*.doc e:\\*.pdf <\/strong><strong><\/strong><\/p>\n<p align=\"left\">\n<ul>\n<li>Typical process to edit PDF margin in accordance with four directions \u2013 \u201cleft, top, right, bottom\u201d<\/li>\n<\/ul>\n<p align=\"center\"><strong>doc2any.exe -margin 100x100x100x100 f:\\in.rtf d:\\out.pdf <\/strong><\/p>\n<ul>\n<li>Typical conversion for setting PDF width and height<\/li>\n<\/ul>\n<p align=\"center\"><strong>doc2any.exe -width 888 -height 444 f:\\*.doc g:\\out.pdf<br \/>\n<\/strong><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>Typical example of merging dozens of source files into existed PDF<\/li>\n<\/ul>\n<p align=\"center\"><strong>doc2any.exe -append 2 g:\\*.doc f:\\out.pdf<br \/>\n<\/strong><\/p>\n<ul>\n<li>Practical process to encrypt PDF<\/li>\n<\/ul>\n<p align=\"center\"><strong>doc2any.exe -ownerpwd 543210 -keylen 2 -encryption 3900 f:\\in3.doc h:\\out2.pdf <\/strong><\/p>\n<p align=\"center\">(<strong>-keylen 2<\/strong>: encrypt file with 124 bits RC4; <strong>-encryption 3900<\/strong>: nothing allowed to change or print file etc. )<\/p>\n<ul>\n<li>Practical process to edit image resolution, image bit-count and TIFF compression<\/li>\n<\/ul>\n<p align=\"center\"><strong>doc2any.exe -xres 300 -yres 300 -bitcount 1 -compression 4 &#8220;f:\\in.doc&#8221; &#8220;d:\\export.tif&#8221; <\/strong><\/p>\n<p align=\"center\">(<strong>-compression 4<\/strong>: CCITT Group 4 Fax Encoding )<strong><br \/>\n<\/strong><\/p>\n<ul>\n<li>Practical conversion for specified page range<\/li>\n<\/ul>\n<p align=\"center\"><strong>doc2any.exe -pagerange &#8220;1,5-6,9&#8221; &#8220;e:\\input2.docx&#8221; &#8220;d:\\output.htm&#8221; <\/strong><\/p>\n<ul>\n<li>\n<div align=\"left\">Interesting process to add watermark on PDF<\/div>\n<\/li>\n<\/ul>\n<p align=\"center\"><strong>doc2any.exe -wtext &#8220;VeryPDF Online&#8221; -wf &#8220;Arial&#8221; &#8220;g:\\sample1.doc&#8221; C:\\export1.pdf <\/strong><\/p>\n<p align=\"left\"><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/strong><\/p>\n<p>With Office to PDF Command Line, it is so simple and fast to process relative tasks on computers of Windows systems!<\/p>\n<p>Besides command line version, Office to PDF Command Line can offer you <a href=\"http:\/\/www.verydoc.com\/office2pdf.exe\">GUI version<\/a>, <a href=\"http:\/\/www.verydoc.com\/doc2any_sdk.zip\">SDK version<\/a> and <a href=\"http:\/\/www.verydoc.com\/doc2any_sdk.zip\">COM version<\/a>. To know more about Office to PDF Command Line and other versions, it is convenient for you to <a href=\"http:\/\/www.verydoc.com\/doc-to-any.html\">click here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Office to PDF Command Line allows you to convert files of Office to PDF with command line singly or in batches. In addition, this CMD application also support other source&#8230;<\/p>\n","protected":false},"author":14,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[125],"tags":[58,104,123,122,77,120,121,124],"class_list":["post-1045","post","type-post","status-publish","format-standard","hentry","category-office-to-pdf","tag-command-line","tag-doc-to-pdf","tag-image-bit-count","tag-image-resolution","tag-in-batches","tag-office-to-pdf","tag-pdf-margin","tag-tiff-compression"],"_links":{"self":[{"href":"https:\/\/online.verypdf.com\/blog\/wp-json\/wp\/v2\/posts\/1045"}],"collection":[{"href":"https:\/\/online.verypdf.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/online.verypdf.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/online.verypdf.com\/blog\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/online.verypdf.com\/blog\/wp-json\/wp\/v2\/comments?post=1045"}],"version-history":[{"count":5,"href":"https:\/\/online.verypdf.com\/blog\/wp-json\/wp\/v2\/posts\/1045\/revisions"}],"predecessor-version":[{"id":1163,"href":"https:\/\/online.verypdf.com\/blog\/wp-json\/wp\/v2\/posts\/1045\/revisions\/1163"}],"wp:attachment":[{"href":"https:\/\/online.verypdf.com\/blog\/wp-json\/wp\/v2\/media?parent=1045"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/online.verypdf.com\/blog\/wp-json\/wp\/v2\/categories?post=1045"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/online.verypdf.com\/blog\/wp-json\/wp\/v2\/tags?post=1045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}