Click here to Skip to main content
15,867,835 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Putting values in array Pin
David Crow6-Dec-07 2:45
David Crow6-Dec-07 2:45 
GeneralRe: Putting values in array Pin
Maximilien6-Dec-07 3:10
Maximilien6-Dec-07 3:10 
GeneralGetting code page descriptions... Pin
Haroon Sarwar6-Dec-07 1:24
Haroon Sarwar6-Dec-07 1:24 
GeneralRe: Getting code page descriptions... Pin
Nibu babu thomas6-Dec-07 2:27
Nibu babu thomas6-Dec-07 2:27 
GeneralRe: Getting code page descriptions... Pin
Haroon Sarwar6-Dec-07 17:17
Haroon Sarwar6-Dec-07 17:17 
QuestionHow to copy a file from pocket PC to destktop Pin
ni_yuansheng6-Dec-07 0:09
ni_yuansheng6-Dec-07 0:09 
QuestionRe: How to copy a file from pocket PC to destktop Pin
David Crow6-Dec-07 2:47
David Crow6-Dec-07 2:47 
QuestionHow to know through INF file that perticular model is PNP enable. Pin
dubbele onzin6-Dec-07 0:02
dubbele onzin6-Dec-07 0:02 
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.


Thanks in advance
Ashish
QuestionHow to find Child Window of another Application? Pin
narayanagvs5-Dec-07 23:50
narayanagvs5-Dec-07 23:50 
QuestionHow to change the background of the slider control Pin
yaminisridaran5-Dec-07 23:23
yaminisridaran5-Dec-07 23:23 
AnswerRe: How to change the background of the slider control Pin
Naveen6-Dec-07 2:10
Naveen6-Dec-07 2:10 
GeneralDrag in CListCtrl, the dragging image doesn't cover the orignal image wholely when start dragging [modified] Pin
followait5-Dec-07 23:21
followait5-Dec-07 23:21 
GeneralAccess a remote hard disk. Pin
vijay_aroli5-Dec-07 22:52
vijay_aroli5-Dec-07 22:52 
QuestionGet events via CWMPPlayer4 Pin
sleepfox5-Dec-07 22:48
sleepfox5-Dec-07 22:48 
AnswerRe: Get events via CWMPPlayer4 Pin
zandar the great29-Sep-08 10:01
zandar the great29-Sep-08 10:01 
GeneralWhere to submit C++ Games Pin
Vince Rojas5-Dec-07 22:30
Vince Rojas5-Dec-07 22:30 
GeneralRe: Where to submit C++ Games Pin
toxcct5-Dec-07 22:33
toxcct5-Dec-07 22:33 
GeneralRe: Where to submit C++ Games Pin
Vince Rojas5-Dec-07 22:36
Vince Rojas5-Dec-07 22:36 
GeneralRe: Where to submit C++ Games Pin
toxcct5-Dec-07 22:39
toxcct5-Dec-07 22:39 
GeneralRe: Where to submit C++ Games Pin
Vince Rojas5-Dec-07 22:44
Vince Rojas5-Dec-07 22:44 
GeneralRe: Where to submit C++ Games Pin
toxcct5-Dec-07 22:47
toxcct5-Dec-07 22:47 
GeneralRe: Where to submit C++ Games [modified] Pin
Nelek5-Dec-07 23:02
protectorNelek5-Dec-07 23:02 
GeneralRe: Where to submit C++ Games Pin
ThatsAlok6-Dec-07 0:21
ThatsAlok6-Dec-07 0:21 
GeneralRe: Where to submit C++ Games Pin
Cedric Moonen6-Dec-07 0:00
Cedric Moonen6-Dec-07 0:00 
GeneralThanks Pin
Vince Rojas6-Dec-07 15:42
Vince Rojas6-Dec-07 15:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.