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
OpenOffice command line only prints to default printer
OpenOffice command line only prints to default printer
OpenOffice 3.2 on Windows Vista
Re: OpenOffice command line only prints to default printer
\\Yadda\Path\Name is a Windows specific notation.
Under Linux I can use
The printer is a network printer with a system wide name.
Under Linux I can use
Code: Select all
soffice -pt Canon-IP4700-series homecast.odt
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice