I want to develop a printer driver which should save the printable data into given location in PCL-5e format.
I have gone through bitmap example which comes with WDK example set. According to that sample, If we want to dump bitmap file output we need to hook OEMEndDoc function and this will return SURFOBJ GDI structure which contains bitmap details.
Like wise, If We want to dump the data in PCL-5e format, Can any expert hint me which are the functions that I need to hook and which GDI structure returns PCL-5e data.
We can set the *Personality to "PERSONALITY_HPGL2" to configure the mini drivers to enable HP-GL/2. Other than this What are the main attributes I need to configure in GPD file.
Thank you, Regards, Robo
No GDI structure will give you PCL5e data. PCL5e is a printer description language (PDL) that is understood by your printer and not by Windows GDI. However, the GPD based drivers (Microsoft Unidrv) do have support for PCL5e so this can be used for creating PCL5e job output. You can use any of the WDK sample GPDs itself and the minidriver to see what your output would look like. I am not clear on what printable data you want to capture. If you can provide more details, I can help you out.