Re: winspool.drv: Fallback to cupsGetPPD if cupsGetPPD3 is missing or failed.

2013-02-11 Thread Huw Davies
On Mon, Feb 11, 2013 at 06:12:57PM +0800, Dmitry Timoshkov wrote: > Huw Davies wrote: > > Under what conditions does cupsGetPPD succeed if cupsGetPPD3 fails? > > I don't have full understanding of what is going on, but sometimes (!) > cupsGetPPD3 returns 404, while cupsGetPPD works just fine here

Re: winspool.drv: Fallback to cupsGetPPD if cupsGetPPD3 is missing or failed.

2013-02-11 Thread Dmitry Timoshkov
Huw Davies wrote: > On Mon, Feb 11, 2013 at 02:03:26PM +0800, Dmitry Timoshkov wrote: > > -if (pcupsGetPPD3) return pcupsGetPPD3( http, name, modtime, buffer, > > bufsize ); > > +if (pcupsGetPPD3) > > +{ > > +http_status_t status; > > + > > +TRACE( "Calling cupsGetPPD

Re: winspool.drv: Fallback to cupsGetPPD if cupsGetPPD3 is missing or failed.

2013-02-11 Thread Huw Davies
On Mon, Feb 11, 2013 at 02:03:26PM +0800, Dmitry Timoshkov wrote: > -if (pcupsGetPPD3) return pcupsGetPPD3( http, name, modtime, buffer, > bufsize ); > +if (pcupsGetPPD3) > +{ > +http_status_t status; > + > +TRACE( "Calling cupsGetPPD3\n" ); > +status = pcupsGet