printerIdxth available printer.
printerIdx must be between 0 and n-1, where n is the
value returned by
The printer name will be returned in
buf on success, or
NULL on failure.
just simple wrappers around Windows functions. There is no
requirement to use these functions if you already know the printer
name that you want to use.