Article View: borland.public.cppbuilder.nativeapi
Article #13270Re: how to detect if a printer a postscript printer in c++
From: Bob Gonder
Date: Fri, 17 Oct 2003 19:17
Date: Fri, 17 Oct 2003 19:17
9 lines
1375 bytes
1375 bytes
Richard Yu wrote: > hResult = PrintDlgEx(pPDX); > > dv=(LPDEVMODE)pPDX->hDevMode; Does it return the address of the DevMode, or the Handle of the GMEM_MOVEABLE memory? If it returns the Handle, which the description implies, then you need to do dv=GlobalLock(pPDX->hDevMode);
Technical Details
Message-ID:
<0rf0pv8rorjcn1leq5c65h7o5pu451m3qm@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f8c71fd$1@newsgroups.borland.com> <3f8cfaf6$1@newsgroups.borland.com> <3f90289e$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,3ac529bf9ac223f1 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-17 12:39:57 PST From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: how to detect if a printer a postscript printer in c++ Date: Fri, 17 Oct 2003 12:17:42 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <0rf0pv8rorjcn1leq5c65h7o5pu451m3qm@4ax.com> References: <3f8c71fd$1@newsgroups.borland.com> <3f8cfaf6$1@newsgroups.borland.com> <3f90289e$1@newsgroups.borland.com> X-Newsreader: Forte Agent 1.91/32.564 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.31.164.79 X-Trace: newsgroups.borland.com 1066418261 67.31.164.79 (17 Oct 2003 12:17:41 -0700) Lines: 11 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail