Date: Mon, 24 Jul 2006 09:36:26 -0400
From: "Kent Belan" <[EMAIL PROTECTED]>
Subject: PrintStatus()

Is there an API or some way to tell if the default printer is online and
ready?

You'll want to take a look at GetPrinter(), and pass it the
PRINTER_INFO_6 struct.  As a warmup, and to get the printer handle,
call OpenPrinter().  Remember to call ClosePrinter() using the same
handle when you're done with it.  GetDefaultPrinter() will get you the
name of the default printer if you need that.

--
Mike Stewart


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to