🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Windows Printers

#12595
From: JD
Date: Fri, 28 Nov 2003 23:15
11 lines
1242 bytes
"John Scott" <jscott@kw.igs.net> wrote:
> [...] How can I mix the WritePrinter() functions with the
> Printer() ones?

This is a known issue with the TPrinter Object. What you need
to do is to set the Printer()->PrinterIndex and then use
Printer->GetPrinter followed by Printer()->SetPrinter to
ensure that the Printer()->Handle is valid.

~ JD
Technical Details
Message-ID: <3fc7e524$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fbcf9c2@newsgroups.borland.com> <3fbd8132$1@newsgroups.borland.com> <3fc77301@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,7b2449597708bec
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-11-28 16:39:08 PST
From: "JD" <nospam@nospam.com>
Sender: "JD" <nospam@nospam.com>
Reply-To: "JD" <nospam@nospam.com>
Subject: Re: Windows Printers
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 172.208.95.130     
References: <3fbcf9c2@newsgroups.borland.com> <3fbd8132$1@newsgroups.borland.com> <3fc77301@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <3fc7e524$1@newsgroups.borland.com>
Date: 28 Nov 2003 16:15:32 -0700
X-Trace: newsgroups.borland.com 1070064932 207.105.83.66 (28 Nov 2003 16:15:32 -0700)
Lines: 12
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail