|
-
October 19th, 1999, 10:27 AM
#1
How to find out if a printer supports Postscript?
I would like to know if there is a way to find out if a printer supports Postscript.
I'm filling a combobox with printers, and I'd like to add only those who supports Postscript..
Anyone have an idea if this is doable?
Thanks.
---
Nicolas LeBlanc
Software Engineer
Ordiplan Inc.
-
October 19th, 1999, 10:57 AM
#2
Re: How to find out if a printer supports Postscript?
Look for article number "Q124135" in the MSDN online help.
Even though it states Windows 3.51, I think it works with 4.0 and Win 95 as well.
Basically you make a call to the Escape() with the device context of the printer and you query the support:
int gPrCode = POSTSCRIPT_PASSTHROUGH;
if( Escape(printerDC, QUERYESCSUPPORT, sizeof(int), (LPSTR)gPrCode, NULL))
{ // The printer is PostScript.
...
}
Regards,
Paul McKenzie
-
October 19th, 1999, 11:00 AM
#3
Re: How to find out if a printer supports Postscript?
Kind of weird, I did search the MSDN for Postscript and didn't find that article.
Thank you very much, I just need now to find out if it can also be transfered to VB.. because I need it for both platform.
---
Nicolas LeBlanc
Software Engineer
Ordiplan Inc.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|