On Tue, Jun 29, 2010 at 12:34:36PM +0300, Andrei Popescu wrote: > I tried on a similar setup, where the cups server is on a much faster > machine and indeed it doesn't do the same, but I was able to override > cups with libpaper, which does not work on the setup with the slow cups. > > My guess is OpenOffice.org is doing something strange if cups is too > slow.
It seems it falls back. It gets the PPD file from cups, then parses it. // update the printer info with context information ppd_file_t* pPPD = m_pCUPSWrapper->ppdOpenFile( aPPDFile.getStr() ); if( pPPD ) { [...] // set system default paper; printer CUPS PPD options // may overwrite it setDefaultPaper( rContext ); for( int i = 0; i < pPPD->num_groups; i++ ) updatePrinterContextInfo( pPPD->groups + i, rContext ); rInfo.m_pParser = pNewParser; rInfo.m_aContext = rContext; // clean up the mess m_pCUPSWrapper->ppdClose( pPPD ) } #if OSL_DEBUG_LEVEL > 1 else fprintf( stderr, "ppdOpenFile failed, falling back to generic driver\n" ); #endif (above from OOos cupsmgr.cxx) ... and falls back to the generic driver. Note how it sets the default paper based on the PPD. Please try the lib from http://zyklop.dyndns.org/~rene/587301/libvcllx.so (built with -DOSL_DEBUG_LEVEL=2) to get all those OSL_DEBUG_LEVEL-guarded fprintfs printed to the console so that we know what exactly is going on. But I don't really care if it turns out that it's really because of your cups server need 30s to be reached, that setup is such completely broken.... Grüße/Regards, René -- .''`. René Engelhard -- Debian GNU/Linux Developer : :' : http://www.debian.org | http://people.debian.org/~rene/ `. `' r...@debian.org | GnuPG-Key ID: D03E3E70 `- Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org