Apache OpenOffice (AOO) Bugzilla – Issue 124294
Certain docs fails to start print job
Last modified: 2016-12-31 15:32:52 UTC
Some documents fails to print. A generic Could not start printer. Please check your printer configuration. error box is shown. sfx2\view\viewprn.cxx issues this message on SfxPrinterController::jobFinished() when state is PrintableState_JOB_FAILED
I discovered it depends on a quick code hack done at the OO 2.0 porting effort. In Os2SalPrinter::StartJob() then pszComment field of DEVOPENSTRUC had been filled with job name instead of application name as suggested in docs. Thus, simple document names were acceptable as application names, while complex and long names not. Probably some DEV/driver limitation inside OS/2 presentation manager.
"ydario" committed SVN revision 1571026 into trunk: #i124294# use rAppName to fill pszComment field when opening the printer device.
Fixed in revision 1571026.