DOC to Any Converter

Convert Excel to PDF and edit PDF subject

This article aims to show you how to convert Excel to PDF and set PDF subject within one process with command line in Windows systems. The details are in the following paragraphs, if you would like to know more, please keep reading this article.

Firstly, please click this link to download DOC to Any Converter Command Line to your computer: https://www.verydoc.com/doc2any_cmd.zip, then unzip the content to your computer, then you can use DOC to Any Converter Command Line later. If you want to know more of DOC to Any Converter Command Line, before starting this process, please click the following link to go to the homepage of DOC to Any Converter Command Line: https://www.verydoc.com/doc-to-any-options.html.

Then, to use DOC to Any Converter Command Line, please open its running environment. And you can do the following to open its environment in Windows platforms:

click “start” to get start menu, then type “cmd.exe” or “cmd” into the dialog box of “Run”, at last, click “ok”, there is a pop window on your screen, which is the operating environment of DOC to Any Converter Command Line like below:

command prompt window

Before processing this task of Excel to PDF and editing PDF subject, there is one important thing you need to do: run DOC to Any Converter Command Line. Yes, in the command prompt window, you need to type the path of “doc2any.exe”, or drag and drop the program “doc2any.exe” into the command prompt window. After you click “space” in the command prompt window, please do the following things to type command line to get the basic work done in command prompt window:

set subject of PDF > add source file > select a folder for PDF and name PDF

To realize them one by one, maybe you can refer to the followings:

  • to set subject of PDF, please type this parameter “-subject <string>”, and subject of PDF can be edit with this <string>, which should be a real string, then one click on “space” for another command
  • to add source file, please drag and drop the source Excel file into the command prompt window, then still one click on “space” for other command typed
  • to select a folder for PDF, and name this PDF, you should type a targeting path into the command prompt window, by now, it is the end for the basic work, and you need to click “enter” in command prompt window so that your PDF file can be produced automatically

Here is the screen snapshot about this process of Excel to PDF and setting PDF subject:

conversion from Excel to PDF and setting PDF subject

To know more conversions and other parameters used in those conversions besides this one of Excel to PDF and setting PDF subject, please go to VeryDOC Knowledge Base.

DOC to Any Converter

Convert Word to PDF and edit PDF subject

You can convert Word to PDF and edit PDF subject with following steps:

1. DOC to Any Converter Command Line is the processing tool, and if you do not own it, please click this link to download and extract the content to your computer firstly: https://www.verydoc.com/doc2any_cmd.zip

2. DOC to Any Converter Command Line is a tool working based on command line, so if you want to use it, you need to open the running environment of command line. For Windows systems, it can be opened by the way of clicking “Windows + R” to open “Run” dialog box –> type “cmd” –> click “ok”. The following pictures can show you more details:

type "cmd" and click "ok"

command prompt window

3. Input the command line to accomplish this conversion

In the command prompt window, you can follow the steps below to produce your PDF file by yourself:

  • input the path of “doc2any.exe” so that DOC to Any Converter Command Line can get an effect on this process later, or you can drag and drop this program into the command prompt window, then click “space” for other command
  • type the parameter “-subject <string>” in order to set subject of pdf, and this “<string>” should be a real string, which is as subject of PDF, then please click “space”
  • add the Word file by the way of inputting its path into the command prompt window, then click “space”
  • select a targeting folder to save PDF file through typing the objective path into the command prompt window
  • one click on “enter”, which is the final click in order to produce your PDF file

The following picture is about the process of Word to PDF and setting PDF subject:

conversion of Word to PDF and setting PDF subject

Anyway, there is not only this parameter you can use, but also other parameters you can type to set other targeting properties. And the following picture is about a parameter to set PDF producer as an example:

conversion from Word to PDF and setting PDF subject and PDF producer

For other parameter which are compatible with DOC to Any Converter Command Line, please visit the homepage of DOC to Any Converter Command Line via this link: https://www.verydoc.com/doc-to-any-options.html. For more concerns about this conversion, which is from Word to PDF and editing PDF subject, please drop your comment here. Thank you for your support!

DOC to Any Converter

Convert MS Office 2007 and Office 2010 xlsx to pdf and edit pdf subject

With DOC to Any Converter Command Line, you can realize the conversion from Office 2007 and Office 2010 xlsx to pdf and setting pdf subject within one process in Windows systems. If you would like to know the method, maybe the following paragraphs can give you this answer.

You can own DOC to Any Converter Command Line right now through clicking the following link: https://www.verydoc.com/doc2any_cmd.zip, then, you also need to extract the content of zip to your computer so that “doc2any.exe” can be called when you need to use DOC to Any Converter Command Line in your computer.

After the first premise is realized, you can follow the steps below to realize another one, which is the operating environment of DOC to Any Converter Command Line: hit “start” on your screen, then select “Run” on start menu, and type “cmd.exe” in dialog box of “Run”, then click “ok” to get the command prompt window popped out, and this window is the running environment of command line in Windows platforms, whose screen snapshot is as follow:

command prompt window

In this command prompt window, this conversion can be fulfilled with the following steps:

  1. run DOC to Any Converter Command Line
  2. set subject of pdf with one parameter
  3. add the source file for this process
  4. select a folder for saving pdf file and name pdf file
  5. one click on “enter”

Firstly, like mentioned above, you need to start DOC to Any Converter Command Line in the command prompt window, and it is essential to call “doc2any.exe” through typing the path of “doc2any.exe”. Secondly, to set subject of pdf, you can input a parameter with true string as subject of pdf, which is “-subject <string>”. Thirdly, please type the path of the source xlsx file in order to add it for this conversion in the command prompt window. Fourthly, you need to type a targeting path into the command prompt window, which can be used to save pdf file and name it directly. Finally, please hit “enter” so that pdf file can be added into the targeting folder soon. Here is a real example to convert Office 2007 and Office 2010 xlsx to pdf and editing pdf subject:

conversion from Office 2007 and Office 2010 xlsx to pdf and editing pdf subject

Based on the example above, I think it is easy to handle this method to convert Office 2007 and Office 2010 xlsx to pdf and editing pdf subject. Moreover, at the homepage of DOC to Any Converter Command Line, you can also find more parameters and more conversions, if you want to go there, please click the following link: https://www.verydoc.com/doc-to-any-options.html.

DOC to Any Converter

Convert MS Office 2007 and Office 2010 pptx to pdf and edit pdf subject

In this article, you can know how to convert MS Office 2007 and Office 2010 pptx to pdf and edit pdf subject with DOC to Any Converter Command Line.

You need to download DOC to Any Converter Command Line firstly via clicking this link: https://www.verydoc.com/doc2any_cmd.zip, and after you extract the content to your computer, DOC to Any Converter Command Line can be used.

Then, it is necessary to do followings to open the command prompt window, which is the operating environment of DOC to Any Converter Command Line in Windows platforms:

click “Windows + R” –> type “cmd.exe” –> click “ok”

In the opened command prompt window, it is essential to do the followings in turns:

  • call “doc2any.exe” to use DOC to Any Converter Command Line
  • set subject of pdf via a parameter
  • add the source file for this process
  • name and save pdf file

To call “doc2any.exe” in the command prompt window, you can type the path of “doc2any.exe” into the command prompt window; to edit subject of pdf, please input a parameter “-subject <string>” with true string as subject, for instance, “-subject “Kylie Minogue””; to add the source file for this conversion, please type the path of this source pptx file; to name and save pdf file, please input a targeting path into the command prompt window.

After all the basic work is done welll, to start this process from Office 2007 and Office 2010 pptx to pdf and setting pdf subject, please click “enter” in the command prompt window. Maybe you are not familiar with the exact format, but I think the following command lines can help you in it:

d:\doc2any_cmd\doc2any.exe –subject “Kylie Minogue” d:\origin\oa.pptx d:\target\oa.pdf

f:\doc2any_cmd\doc2any.exe –subject “Harry Perry” g:\origin2\in.pptx g:\target2\out.pdf

Also, besides this parameter, you can type other parameters to edit other kinds of properties of targeting pdf, “-width 1200”, which is a parameter to set width of pdf as 1200, for example:

g:\doc2any_cmd\doc2any.exe –subject “verydoc.com” –width 1200 f:\example1\input.pptx f:\example1\output.pdf

To know more parameter, you can log on the official webpage of DOC to Any Converter Command Line at this link: https://www.verydoc.com/doc-to-any-options.html, where many kinds of conversions can be found, including this one that is from Office 2007 and Office 2010 pptx to pdf and editing pdf subject.

PCL, PS, PDF Page Counter

How to use Spool File Page Counter SDK by c#?

 

1.Download file:https://www.verydoc.com/ps-and-pcl-info-sdk.zip and unzip it.
2.You can see C# directory, open it.The inside is C# source code.
  Use Visual Studio 2010 can view the source code.
  Compile it, then you can get "obj\x86\Release\C#_ParsingTest.exe" or "obj\x86\Debug\C#_ParsingTest.exe"

3.The command line of the look below format looks like.
         "C:\C#_ParsingTest.exe C:\test_chess.ps"

4.You Can get Information:

C:\C#_ParsingTest.exe C:\test_chess.ps

args length is 1
args index 0 is [C:\test_chess.ps]
=============================
Page   1 is [   BW]
=============================
Statistics: bwPageCount=1, colorPageCount=0
File: C:\test_chess.ps
Render To PDF: 1
BW Pages: 1
Color Pages: 0
Width: 2031.99996948242
Height: 2698.74995946884
Paper name: PaperBox: 60 138 576 765