none
OpenPrinter2() and Printer Cache RRS feed

  • Question

  • Hello All,

    Problem:
    I am facing a timing issue when the printer driver is tested in client-server environment. The brief of this issue is as follows;
    1. Installed my 64 bit printer driver in Server and shared it.
    2. Added same driver's 32 bit as additional driver in the ssame server.
    3. In the server, I have changed the driver properties using Printer Properties->Advanced->Printing Defaults
    (Eg. N-UP to 16-up, Staple = 2 Staple, Punch = ON etc)
    4. Connected to the driver from my client. When I see the printer properties, the properties that I have set on server is not reflected 'Immediately". After 5 to 6 minutes, I could see the settings are getting reflected.

    My trial:
    I have tried reading the printer driver information and configuration information using OpenPrinter2() with 'PRINTER_OPTION_NO_CACHE' option.
    This is taking very long time ( 5 to 6 minutes) to load my Printer Driver Configuration Tab.

    Question:
    Is there a way to make OpenPrinter2() return faster? Or forcibily initiate a server-to-client cache refresh?

    Any suggestion would be really appreciable.

    Warm Regards,
    Sankaran

    Wednesday, October 30, 2013 1:00 PM