pdf2pdf

Package: WA2L/WinTools 1.2.09
Section: General Commands (1)
Updated: 18 March 2026
Index Return to Main Contents

 

NAME

pdf2pdf - compress PDF files to PDF

 

SYNOPSIS

WA2LWinTools/bin/pdf2pdf [ -h | -i | -u | -V ]

pdf2pdf [ -n ][ file... ]

 

AVAILABILITY

WA2L/WinTools

 

DESCRIPTION

compress one or more *.pdf file(s) to *-compressed.pdf file(s).

Each given file1.pdf is compressed to file1-compressed.pdf as long as the destination file ( file1-compressed.pdf ) does not exist already.

The pdf2pdf command should be installed to the 'Send To' context menu in 'Microsoft™ Windows Explorer' for most convenient usage. To do so, invoke pdf2pdf -i once respectively select the 'File conversion' checkbox in the config(1m) command.

 

OPTIONS

-h
usage message.

-i
install the pdf2pdf command as menu point 'pdf2pdf' to the 'Send To' context menu in 'Windows Explorer'.

-u
uninstall the pdf2pdf shortcut from the 'Send To' context menu in 'Windows Explorer'.

-V
print program version.

-n
non interactive execution. This prevents the message box dialog at the end of the program execution. Using -n the pdf2pdf command can be used in batch processing without any user intervention.

file...
list of *.pdf files to compress to *-compressed.pdf . When installed in the 'Send To' menu the selected file(s) in 'Windows Explorer' are passed as a list of files to the pdf2pdf command and all given PDF files are compressed and saved as a separate PDF file.

If no file is specified, you are queried to select the file(s) by a open file box dialog where you then can select one file(s) to be processed.

 

ENVIRONMENT

-

 

EXIT STATUS

0
no error.

1
files were skipped or conversion failed.

2
shortcut in 'Send To' menu could not be removed.

4
usage message displayed.

5
program version printed.

6
program variant not known. This error occurs when the pdf2pdf command is renamed.

 

FILES

-

 

EXAMPLES

See: epub2mobi(1).

 

SEE ALSO

wintoolsintro(1), config(1m), epub2mobi(1)

 

NOTES

-

 

BUGS

-

 

AUTHOR

pdf2pdf was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net .

 

COPYRIGHT

Copyright © 2026 Christian Walther

This is free software; see WA2LWinTools/man/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
OPTIONS
ENVIRONMENT
EXIT STATUS
FILES
EXAMPLES
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html, using the manual pages.
Time: 21:50:38 GMT, March 18, 2026