Difference between revisions of "Documentation/FAQ/General/Is there a way to print a batch of files without opening each of them in OOo?"

From Apache OpenOffice Wiki
Jump to: navigation, search
(New page: {{DISPLAYTITLE:Is there a way to print a batch of files without opening each of them in OOo?}} {{Documentation/QASet |Question=Is there a way to print a batch of files without opening eac...)
 
m
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:Is there a way to print a batch of files without opening each of them in OOo?}}
+
{{DISPLAYTITLE:Is there a way to print a batch of files without opening each of them in {{AOo}}?}}
  
{{Documentation/QASet
+
<section begin=question/>
|Question=Is there a way to print a batch of files without opening each of them in OOo?
+
'''Is there a way to print a batch of files without opening each of them in {{AOo}}?'''
|Answer=
+
<section end=question/>
 +
 
 +
<section begin=answer/>
 
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.
 
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
+
<font color="darkblue">openoffice -pt "PRINTER-NAME" FILENAME</font>
  
 
where:
 
where:
PRINTER-NAME is the name of your printer as shown in the "File|Print" menu.
+
<font color="darkblue">PRINTER-NAME</font> is the name of your printer as shown in the "File|Print" menu.
FILENAME is the name of the file you wish to print
+
<font color="darkblue">FILENAME</font> is the name of the file you wish to print
  
 
e.g. To print the spreadsheet 'accounts.ods'
 
e.g. To print the spreadsheet 'accounts.ods'
openoffice -pt "PSC-2350" accounts.ods
+
 
 +
<font color="darkblue">openoffice -pt "PSC-2350" accounts.ods</font>
  
 
You can print a batch of files by using a wildcard in the filename.
 
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:
 
e.g. To print all the spreadsheets in the current directory:
openoffice -pt "PSC-2350" *.ods
+
<font color="darkblue">openoffice -pt "PSC-2350" *.ods</font>
 
+
<section end=answer/>
 
+
}}
+
  
 
[[Category:Documentation/FAQ/General]]
 
[[Category:Documentation/FAQ/General]]

Latest revision as of 12:38, 31 August 2021


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


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