Article View: borland.public.cppbuilder.nativeapi
Article #13893Re: GetDeviceCaps not working with all printers.
From: Bob Reeves
Date: Mon, 15 Sep 2003 11:29
Date: Mon, 15 Sep 2003 11:29
9 lines
1510 bytes
1510 bytes
Did a little more testing this morning and the problem is with Printer()->Handle... If I add "Printer()->Handle" to the watch list and trace through the code with PrinterIndex set to one of the problem printers, Builder crashes big time. If I set PrinterIndex to one of the good printers it evaluates to a good handle and works fine. Any Ideas???
Technical Details
Message-ID:
<3f65a5f6$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!newshosting.com!news-xfer1.atl.newshosting.com!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> <3f63acef$1@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-15 04:51:24 PST Reply-To: "Bob Reeves" <bob@somethinxtra.com> From: "Bob Reeves" <bob@somethinxtra.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f6307be$1@newsgroups.borland.com> <3ti6mvopr70gvqksnpvqnmaongfrhu8fdc@4ax.com> <3f63ab80@newsgroups.borland.com> <3f63acef$1@newsgroups.borland.com> Subject: Re: GetDeviceCaps not working with all printers. Date: Mon, 15 Sep 2003 06:29:11 -0500 Lines: 11 Organization: Somethin'Xtra X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 216.192.73.134 Message-ID: <3f65a5f6$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1063626230 216.192.73.134 (15 Sep 2003 04:43:50 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail