Is there a way to print a batch of files without opening each of them in OOo?

From Apache OpenOffice Wiki
< Documentation‎ | FAQ‎ | General
Revision as of 14:23, 14 March 2008 by Fpe (Talk | contribs)

Jump to: navigation, search


Is there a way to print a batch of files without opening each of them in OOo?


You can print a batch of files by printing from the command line. I have tested this in Ubuntu Linux but it should work in any Linux or Windows.

openoffice -pt "PRINTER-NAME" FILENAME

where: PRINTER-NAME is the name of your printer as shown in the "File|Print" menu. FILENAME is the name of the file you wish to print

e.g. To print the spreadsheet 'accounts.ods' openoffice -pt "PSC-2350" accounts.ods

You can print a batch of files by using a wildcard in the filename.

e.g. To print all the spreadsheets in the current directory: openoffice -pt "PSC-2350" *.ods

Personal tools