Article View: borland.public.cppbuilder.nativeapi
Article #13799Re: GetDeviceCaps not working with all printers.
From: Remy Lebeau (TeamB)
Date: Sat, 13 Sep 2003 23:49
Date: Sat, 13 Sep 2003 23:49
18 lines
1491 bytes
1491 bytes
"Bob Reeves" <bob@somethinxtra.com> wrote in message news:3f63ab80@newsgroups.borland.com... > pRes = GetDeviceCaps(Printer()->Handle, LOGPIXELSY); > > Pretty basic but GetDeviceCaps() fails on some printers. Did you verify that the Handle property is not returning NULL? Gambit --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/03
Technical Details
Message-ID:
<3f63acef$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3f6307be$1@newsgroups.borland.com> <3ti6mvopr70gvqksnpvqnmaongfrhu8fdc@4ax.com> <3f63ab80@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,90fc2fd2df76ffd6 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-09-13 16:51:44 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f6307be$1@newsgroups.borland.com> <3ti6mvopr70gvqksnpvqnmaongfrhu8fdc@4ax.com> <3f63ab80@newsgroups.borland.com> Subject: Re: GetDeviceCaps not working with all printers. Date: Sat, 13 Sep 2003 16:49:48 -0700 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3f63acef$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1063496943 207.175.226.26 (13 Sep 2003 16:49:03 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail