Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default Printer

Status
Not open for further replies.

AAP

Programmer
May 8, 2000
93
GB
How can I find the name of the default printer?
 
For Win2k you can use function GetDefaultPrinter:
BOOL GetDefaultPrinter(
LPTSTR pszBuffer, // printer name buffer
LPDWORD pcchBuffer // size of name buffer
);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top