OpenOffice command line only prints to default printer
Posted: Tue Oct 29, 2013 9:05 pm
When using open office to print via the command line it appears to print only to the default printer?
For example, I have 2 printers installed: HP6500 and HP4200, with HP4200 as the default.
HP4200 is a local shared printer and HP6500 is a network shared printer, both installed on my-laptop.
I can print to both successfully from the OpenOffice application but not from the command line.
For example:
> soffice.exe -pt "\\my-laptop\HP6500" c:\temp\PrinterTest.txt
and
> soffice.exe -pt "\\my-laptop\HP4200" c:\temp\PrinterTest.txt
and
> soffice.exe -pt "\\YaddaYaddaYadda" c:\temp\PrinterTest.txt
... all print to the default printer HP4200 only ... If I make HP6500 the default printer, it prints there!
Any suggestions on how to be able to print to the non-default printer???
(Note: I see the -p option always prints to the default printer, could this be a bug with the -pt option where it is behaving like -p ?)
Environment: Tried OpenOffice 3.3.0, 3.4.1 and 4.0.1 on Windows 7
For example, I have 2 printers installed: HP6500 and HP4200, with HP4200 as the default.
HP4200 is a local shared printer and HP6500 is a network shared printer, both installed on my-laptop.
I can print to both successfully from the OpenOffice application but not from the command line.
For example:
> soffice.exe -pt "\\my-laptop\HP6500" c:\temp\PrinterTest.txt
and
> soffice.exe -pt "\\my-laptop\HP4200" c:\temp\PrinterTest.txt
and
> soffice.exe -pt "\\YaddaYaddaYadda" c:\temp\PrinterTest.txt
... all print to the default printer HP4200 only ... If I make HP6500 the default printer, it prints there!
Any suggestions on how to be able to print to the non-default printer???
(Note: I see the -p option always prints to the default printer, could this be a bug with the -pt option where it is behaving like -p ?)
Environment: Tried OpenOffice 3.3.0, 3.4.1 and 4.0.1 on Windows 7