Issue 112710 - Concurrent "soffice -pt ..." requests fail
Summary: Concurrent "soffice -pt ..." requests fail
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOO320m12
Hardware: Unknown All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: needhelp
Depends on:
Reported: 2010-06-25 20:19 UTC by usoo
Modified: 2014-08-12 09:04 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description usoo 2010-06-25 20:19:33 UTC
Making multiple simultaneous command line requests to print from multiple
command consoles on the same machine fails.  The first one will print but the
other concurrent requests will fail if soffice.exe is still executing from the
first request.

For example, if you request, from console 1:
soffice -pt myprinter myfile1.doc
Then *immediately* request from console 2:
soffice -pt myprinter myfile2.jpg

Then myfile1.doc will print but the 2nd soffice request to print myfile2.jpg is
ignored and the 2nd soffice.exe simply closes without sending the request to the

It appears soffice.exe doesn't like to have more than one iteration of itself
running at a time per machine?  This should be allowed when printing from the
command line.

We would like make multiple OpenOffice command line print requests on a server

Comment 1 Olaf Felka 2010-06-28 06:45:55 UTC
@ hi: Please have a look.
Comment 2 philipp.lohmann 2010-06-28 19:06:56 UTC
@cd: should these not be serialized ?
Comment 3 usoo 2010-06-29 04:47:38 UTC
The requests might come from many different users at approximately the same time
and simply making the soffice -pt... request as each request comes in simplifies
Can each soffice -pt... request simply send the print request to the print
spooler to then be printed on a FIFO basis?
Currently the subsequent soffice -pt... requests are initiated but then closes
down without sending the files to the print spooler as long as the first request
is still in memory.
Comment 4 MarcoF 2014-08-12 09:04:09 UTC
BUG confirmed: issuing multiple simultaneous command line requests to print from multiple command consoles on the same machine fails. while waiting for a fix we'll try a pause between the commands.