query regarding printer drivers

P

pradeeppj

i am a software engineer working on UNIDRV printer driver using
Microsoft Plug-ins IPRINTOEMUI & IPRINTOEMUNI using VC++ as editor, OS
win 2000 server.
i am using NTDDK driver development kit.
i have a problem
details:
when i right click on printer icon & then on printing preferences then
i got a document property sheets dialog box containing three tabs
namely Layout, Paper/quality & Advance.so the problem is that i don't
want these document property sheet pages.
what i implement to achieve this is as follows
pOEMUIParam->pDrvOptItems[0].Flags=OPTIF_HIDE;
pOEMUIParam->pDrvOptItems[1].Flags=OPTIF_HIDE ;
pOEMUIParam->pDrvOptItems[2].Flags=OPTIF_HIDE ;
pOEMUIParam->pDrvOptItems[3].Flags=OPTIF_HIDE ;
pOEMUIParam->pDrvOptItems[4].Flags=OPTIF_HIDE ;
pOEMUIParam->pDrvOptItems[5].Flags=OPTIF_HIDE ;
pOEMUIParam->pDrvOptItems[6].Flags=OPTIF_HIDE ;
pOEMUIParam->pDrvOptItems[7].Flags=OPTIF_HIDE ;
pOEMUIParam->pDrvOptItems[8].Flags=OPTIF_HIDE ;
pOEMUIParam->pDrvOptItems[9].Flags=OPTIF_HIDE ;
pOEMUIParam->pDrvOptItems[10].Flags=OPTIF_HIDE ;
pOEMUIParam->pDrvOptItems[11].Flags=OPTIF_HIDE ;
pOEMUIParam->pDrvOptItems[12].Flags=OPTIF_HIDE ;

now after this i am not getting the Microsoft provided document
property sheet pages but when i used to click on Printing
Preferences
i got an error "Can't display due to lack of resources", now i want to
resolve this error but i don't know how?
Can you tell me how can i resolve this error or is there any way to
get
rid of these document property sheet pages & provide our own.
i am waiting for your reply sir, it's urgent, please consider it.
Pradeep Joseph
(e-mail address removed)
 
B

Bruno van Dooren [MVP VC++]

i am a software engineer working on UNIDRV printer driver using
Microsoft Plug-ins IPRINTOEMUI & IPRINTOEMUNI using VC++ as editor, OS
win 2000 server.


Better ask this on microsoft.public.development.device.drivers
or go to www.osronline.com and use the NTDEV newsgroup.

Those are the best options for getting answer to device driver questions.

--

Kind regards,
Bruno van Dooren
(e-mail address removed)
Remove only "_nos_pam"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top