none
Problem while changing printer device icon through INF. RRS feed

  • Question

  •    

               Can i change my 3D printer icon which is showing in control panel...??

    I have tried below steps  to change printer icon but it does not  working ...

    I have add resource(icon.ico) in my project from Resource-include property of  Resource.rc 

    this is my resource.h file

    //{{NO_DEPENDENCIES}}
    // Microsoft Visual C++ generated include file.
    // Used by Resource.rc
    //
    #define ID_DIGG                         1
    #define RT_PNG                          99
    #define IDI_ICON1                       102                         //resource that i added
    // Next default values for new objects
    // 
    #ifdef APSTUDIO_INVOKED
    #ifndef APSTUDIO_READONLY_SYMBOLS
    #define _APS_NEXT_RESOURCE_VALUE        104
    #define _APS_NEXT_COMMAND_VALUE         40001
    #define _APS_NEXT_CONTROL_VALUE         1001
    #define _APS_NEXT_SYMED_VALUE           101
    #endif

    #endif 

    and this my INF file section to add resource 

    [DriverInstall]
    CopyFiles = DriverFiles
    AddProperty = DriverProperties
    [DriverProperties]

    DeviceIcon,,,,"%1%\v4PrinterDriver1.dll,-102" 

    can anybody please tell me where i am going wrong..??

    Monday, February 24, 2014 12:09 PM

Answers