How does pdfcreater adds its entry in the printer list


I am interested in knowing  'how does pdfcreater add its entry in the printer list' in windows. How can I achieve this programmatically? Any sample code snippet would help.






 I believe this is acheived by adding both a Printer and a spooler to the Windows registry. The 1.4.0 source code is available here: Maybe you will find more information there?