Working with a printer in windows

After going through this post, you should be having your first printed page, that you printed through code like me! There are a set of API’s provided by Microsoft for working with printers. Some functions are listed below… GetDefaultPrinter SetDefaultPrinter OpenPrinter – Returns a handle for a given printer name ClosePrinter – Use this instead […]
Continue reading…