🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13791

GetDeviceCaps not working with all printers.

#13791
From: Bob Reeves
Date: Sat, 13 Sep 2003 11:49
10 lines
1467 bytes
Anyone else having a problem with GetDeviceCaps() under Windows 2000 and
Builder 4.0 with some printer drivers? I have several printers loaded on a
Win 2000 computer and two of them throw an exception when I call
GetDeviceCaps() with PrinterIndex set to these printers. Builder throws up a
CPU box and stops. I have never been able to understand what good the
information in the CPU box is in the first place but that is not important
right now.

Thanks,
Bob
Technical Details
Message-ID: <3f6307be$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!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

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,90fc2fd2df76ffd6,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-09-13 05:06:24 PST
Reply-To: "Bob Reeves" <bob@somethinxtra.com>
From: "Bob Reeves" <bob@somethinxtra.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: GetDeviceCaps not working with all printers.
Date: Sat, 13 Sep 2003 06:49:29 -0500
Lines: 12
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.69.12
Message-ID: <3f6307be$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1063454654 216.192.69.12 (13 Sep 2003 05:04:14 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!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