Article View: borland.public.cppbuilder.nativeapi
Article #15081Re: Printer()->Handle is broke
From: JD
Date: Sat, 19 Jul 2003 19:55
Date: Sat, 19 Jul 2003 19:55
14 lines
1308 bytes
1308 bytes
"Anthony" <awhitesell@attbi.com> wrote:
> [...] This little piece of code fixes so many problems.
>
> Printer->PrinterIndex = x; { set to any non-default printer }
> Printer->GetPrinter(Device, Driver, Port, hDMode);
> Printer->SetPrinter(Device, Driver, Port, 0);
>
You are like a dog with a bone !!! I'd have never lasted long
enough to resolve this and would have gone to openening the
printer as a file 13 days ago. Congrats.
~ JD
Technical Details
Message-ID:
<3f19a22f$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3f198eec$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,2b22970ca908cea7 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-19 13:04:37 PST From: "JD" <nospam@nospam.com> Sender: "JD" <nospam@nospam.com> Reply-To: "JD" <nospam@nospam.com> Subject: Re: Printer()->Handle is broke Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 172.158.154.199 172.158.154.199 References: <3f198eec$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.65 Message-ID: <3f19a22f$1@newsgroups.borland.com> Date: 19 Jul 2003 12:55:27 -0700 X-Trace: newsgroups.borland.com 1058644527 207.105.83.65 (19 Jul 2003 12:55:27 -0700) Lines: 15 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail