Article View: borland.public.cppbuilder.nativeapi
Article #15100Re: TPrinter Problem
From: Remy Lebeau (TeamB)
Date: Tue, 15 Jul 2003 21:52
Date: Tue, 15 Jul 2003 21:52
21 lines
1633 bytes
1633 bytes
"Anthony" <awhitesell@attbi.com> wrote in message news:3f1471c0$1@newsgroups.borland.com... > I can use both > > HDC HPrinterDC = CreateDC(NULL, Device.c_str(), NULL, pdm); > and > HDC HPrinterDC = CreateIC(NULL, Device.c_str(), NULL, pdm); I didn't say to use CreateDC(). That is a different matter. > and get the correct page sizes. What does page sizes have to do with anything? You said you were receiving the same HDC when using Printer()->Handle? Or did I misread what you said originally? Please clearify EXACTLY what you are trying to do and what EXACTLY is not working correctly. Gambit
Technical Details
Message-ID:
<3f147649$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3f1460f3$1@newsgroups.borland.com> <3f14693d$1@newsgroups.borland.com> <3f1471c0$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,d59131589fe63384 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-15 15:04:04 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f1460f3$1@newsgroups.borland.com> <3f14693d$1@newsgroups.borland.com> <3f1471c0$1@newsgroups.borland.com> Subject: Re: TPrinter Problem Date: Tue, 15 Jul 2003 14:52:01 -0700 Lines: 23 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.1106 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3f147649$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1058305609 207.175.226.26 (15 Jul 2003 14:46:49 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail