Output a pdf processing log of using command line

The term log file refers to: text saved by a computer operating system to record its activities, such as by the UNIX system log facility; output produced by a data logger. Based on this, this article is going to tell you how to specify log file for output message by using Advanced PDF Tools Command Line, that’s to say, output a pdf processing log.

First step—Downloading

Follow this link you will obtain Advanced PDF Tools

https://www.verypdf.com/pdfinfoeditor/advanced_pdf_tools_cmd.zip

The whole package is just of 3.04 MB, making the download swiftly, do remember to extract it, for it is a zipped package.

Second step—Launching

You are bound to launch MS-DOS command prompt window. Because the command line is bound to be operated under the MS-DOS environment. The procedure is easy, and the following pictures will guide you.

1) click “start” and then go to “Run”

click start

choose run

2) input cmd into the following

run dialog

3) press “OK”, you will find MS-DOS command prompt window popping up

command prompt

Third step—Inputting

input command line to output a PDF processing log

it goes below

pdftools.exe -i "C:\input.pdf" -r -l "C:\output.log"

where

  • -i is to specify a pdf file name or a directory for input,
  • -o is to specify the pdf file name for output,
  •  -r is to specify a pdf file name or a directory for input, and the option -o to specify the pdf file name for output,
  • -l is to specify log file for output message.

when the input is done, press “enter” key, you will see

detailed operation displayed in command prompt

Fourth step—Checking

open the containing folder, you will find test.log file

containing folder

click it to open, you will see output message of input pdf file

output of log file

Using command line brings you fun of work and enjoys working efficiency.

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

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!