none
How to know through INF file That perticular Model in PnP Capable or not.... RRS feed

  • Question

  •  

    hi,


    for my one of application, i installed diffrent printer model through printer Drivers INF file, My application works fine.

    Now i needed that when i'm parsing INF file through my program, how can i sure that pertincular printer model is PnP capable or not. is there any standerd way to decide this when reading a INF file. for example for an INF file the [ModelSection] defined as:

    /////////////////////////////////////////////////////////////

    ; Model sections
    ;
    ; Each section here corresponds with an entry listed in the
    ; [Manufacturer] section, above. The models will be displayed in the order
    ; that they appear in the INF file.

    [HP]

    ; HP Color LaserJet 4700
    %HP_Mombi_Driver_Name% = hpmcpdp6.gpd,LPTENUM\HPUPD_PCL6,DOT4PRT\Hewlett-PackardHP_CoF1B4,DOT4PRT\Hewlett-PackardHP_CoF1B4&PRINT_HPZ,DOT4PRT\Hewlett-PackardHP_CoF1B4&DOT4&PRINT_HPZ,DOT4PRT\vid_03f0&pid_6217,DOT4PRT\vid_03f0&pid_6217&PRINT_HPZ,DOT4PRT\vid_03f0&pid_6217&DOT4&PRINT_HPZ,DOT4PRT\VID_03F0&PID_6217&Rev_0100,DOT4PRT\VID_03F0&PID_6217&Rev_0100&DOT4&PRINT_HPZ,DOT4PRT\VID_03F0&PID_6217&Rev_0100&PRINT_HPZ

    ; HP Color LaserJet 4730
    %HP_Mombi_Driver_Name% = hpmcpdp6.gpd,LPTENUM\HPUPD_PCL6,DOT4PRT\Hewlett-PackardHP_Co2FFA,DOT4PRT\Hewlett-PackardHP_Co2FFA&PRINT_HPZ,DOT4PRT\Hewlett-PackardHP_Co2FFA&DOT4&PRINT_HPZ,DOT4PRT\vid_03f0&pid_6317,DOT4PRT\vid_03f0&pid_6317&PRINT_HPZ,DOT4PRT\vid_03f0&pid_6317&DOT4&PRINT_HPZ,DOT4PRT\vid_03f0&pid_6317&Rev_0100,DOT4PRT\vid_03f0&pid_6317&Rev_0100&PRINT_HPZ,DOT4PRT\vid_03f0&pid_6317&Rev_0100&DOT4&PRINT_HPZ


    ; HP LaserJet 3050
    %HP_Mombi_Driver_Name% = hpmcpdp6.gpd,LPTENUM\HPUPD_PCL6,DOT4PRT\vid_03f0&pid_3217&mi_00&PRINT_HPZ,DOT4PRT\Vid_03f0&Pid_3217&mi_00&DOT4&PRINT_HPZ,DOT4PRT\vid_03f0&pid_3217&Rev_0100&mi_00&PRINT_HPZ,DOT4PRT\vid_03f0&pid_3217&Rev_0100&mi_00&DOT4&PRINT_HPZ
    ; HP LaserJet 3052
    %HP_Mombi_Driver_Name% = hpmcpdp6.gpd,LPTENUM\HPUPD_PCL6,DOT4PRT\vid_03f0&pid_3317&mi_00&PRINT_HPZ,DOT4PRT\Vid_03f0&Pid_3317&mi_00&DOT4&PRINT_HPZ,DOT4PRT\vid_03f0&pid_3317&Rev_0100&mi_00&PRINT_HPZ,DOT4PRT\vid_03f0&pid_3317&Rev_0100&mi_00&DOT4&PRINT_HPZ

    ; HP LaserJet 3055
    %HP_Mombi_Driver_Name% = hpmcpdp6.gpd,LPTENUM\HPUPD_PCL6,DOT4PRT\vid_03f0&pid_3417&mi_00&PRINT_HPZ,DOT4PRT\Vid_03f0&Pid_3417&mi_00&DOT4&PRINT_HPZ,DOT4PRT\vid_03f0&pid_3417&Rev_0100&mi_00&PRINT_HPZ,DOT4PRT\vid_03f0&pid_3417&Rev_0100&mi_00&DOT4&PRINT_HPZ
    ; HP LaserJet 3390/3392
    %HP_Mombi_Driver_Name% = hpmcpdp6.gpd,LPTENUM\HPUPD_PCL6,DOT4PRT\vid_03f0&pid_3517&mi_00&PRINT_HPZ,DOT4PRT\Vid_03f0&Pid_3517&mi_00&DOT4&PRINT_HPZ,DOT4PRT\vid_03f0&pid_3517&Rev_0100&mi_00&PRINT_HPZ,DOT4PRT\vid_03f0&pid_3517&Rev_0100&mi_00&DOT4&PRINT_HPZ

    ; HP LaserJet 5200
    %HP_Mombi_Driver_Name% = hpmcpdp6.gpd,LPTENUM\HPUPD_PCL6,DOT4PRT\vid_03f0&pid_6417,DOT4PRT\vid_03f0&pid_6417&PRINT_HPZ,DOT4PRT\vid_03f0&pid_6417&DOT4&PRINT_HPZ,DOT4PRT\vid_03f0&pid_6417&Rev_0100,DOT4PRT\vid_03f0&pid_6417&Rev_0100&PRINT_HPZ,DOT4PRT\vid_03f0&pid_6417&Rev_0100&DOT4&PRINT_HPZ

    ; HP LaserJet 5200L
    %HP_Mombi_Driver_Name% = hpmcpdp6.gpd,LPTENUM\HPUPD_PCL6,DOT4PRT\vid_03f0&pid_6617,DOT4PRT\vid_03f0&pid_6617&PRINT_HPZ,DOT4PRT\vid_03f0&pid_6617&DOT4&PRINT_HPZ,DOT4PRT\vid_03f0&pid_6617&Rev_0100,DOT4PRT\vid_03f0&pid_6617&Rev_0100&PRINT_HPZ,DOT4PRT\vid_03f0&pid_6617&Rev_0100&DOT4&PRINT_HPZ

    ; HP LaserJet 3005
    %HP_Mombi_Driver_Name% = hpmcpdp6.gpd,LPTENUM\HPUPD_PCL6,DOT4PRT\Hewlett-PackardHP_La023A,DOT4PRT\Hewlett-PackardHP_La023A&PRINT_HPZ,DOT4PRT\Hewlett-PackardHP_La023A&DOT4&PRINT_HPZ,DOT4PRT\vid_03f0&pid_7317,DOT4PRT\vid_03f0&pid_7317&PRINT_HPZ,DOT4PRT\vid_03f0&pid_7317&DOT4&PRINT_HPZ,DOT4PRT\vid_03f0&pid_7317&Rev_0100,DOT4PRT\vid_03f0&pid_7317&Rev_0100&PRINT_HPZ,DOT4PRT\vid_03f0&pid_7317&Rev_0100&DOT4&PRINT_HPZ

    ; HP LaserJet 3004
    %HP_Mombi_Driver_Name% = hpmcpdp6.gpd,LPTENUM\HPUPD_PCL6,DOT4PRT\Hewlett-PackardHP_LaC2FB,DOT4PRT\Hewlett-PackardHP_LaC2FB&PRINT_HPZ,DOT4PRT\Hewlett-PackardHP_LaC2FB&DOT4&PRINT_HPZ,DOT4PRT\vid_03f0&pid_7617,DOT4PRT\vid_03f0&pid_7617&PRINT_HPZ,DOT4PRT\vid_03f0&pid_7617&DOT4&PRINT_HPZ,DOT4PRT\vid_03f0&pid_7617&Rev_0100,DOT4PRT\vid_03f0&pid_7617&Rev_0100&PRINT_HPZ,DOT4PRT\vid_03f0&pid_7617&Rev_0100&DOT4&PRINT_HPZ

    ////////////////////////////////////////////////////////////////////





    But i'm not getting how to decide which model is PnP capable or not.plz help me.

    Thursday, December 6, 2007 11:22 AM