🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Print TCanava problem

#7963
From: hans galema
Date: Thu, 09 Dec 2004 20:08
16 lines
1337 bytes
DaniD wrote:

> I try to print to content of a Canvas:
>      TPrinter *APrinter = Printer();
>      APrinter->BeginDoc();
>      PrintText(APrinter->Canvas) ;
>      APrinter->EndDoc();
> 
> ... I get only one page 

That is correct. For every page you need a BeginDoc()/EndDoc().

This question had better been asked in the .vcl.components.using
newsgroup.

Hans.
Technical Details
Message-ID: <41b8b0cf$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41b8acd7$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,da818c8ad7ca335
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 09 Dec 2004 21:08:27 +0100
From: hans galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Print TCanava problem
References: <41b8acd7$1@newsgroups.borland.com>
In-Reply-To: <41b8acd7$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <41b8b0cf$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1102622927 129.125.201.248 (9 Dec 2004 12:08:47 -0800)
Lines: 16
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail