🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Pixel size of text

#11810
From: Malcolm Smith
Date: Fri, 16 Jan 2004 00:22
33 lines
2055 bytes
Not that I know of (or can find).  I've never dealt with printers using raw
Win32 API.

Does VERTSIZE give the size of the printable area (as opposed to the page
size) ?

My preview is acceptable now.  Thanks for your input.

-- 
---
Malcolm Smith
MJ Freelancing
http://www.mjfreelancing.com
Borland Technology Partner


"Bob Gonder" <notbg@notmindspring.invalid> wrote in message
news:f6od009r59mr1qjbki370b0ashlvo19rj7@4ax.com...
> Malcolm Smith wrote:
>
> >My biggest problem is the fact the printer canvas that I have from the
VCL
> >is not valid until BeginDoc() is called.  Since I'm doing a preview this
was
> >the cause of my problem.
>
> Doesn't the VCL have a preview method?
>
> Win doesn't require a StartDoc to get a valid DC. Just OpenPrinter(),
> DocumentProperties() twice, and CreateDC().
>
>
>
Technical Details
Message-ID: <40072ec4@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.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: <400524f6$1@newsgroups.borland.com> <es1b005mlgdh2ahu2k1641mdku5tuflukq@4ax.com> <4005cf4e$1@newsgroups.borland.com> <c0dc00hj5q7r3aqhbbvh1f7s7mbdmkdapd@4ax.com> <40063ac3@newsgroups.borland.com> <f6od009r59mr1qjbki370b0ashlvo19rj7@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,68caf32dd13ae34
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-15 16:40:05 PST
Reply-To: "Malcolm Smith" <mjfreelancing@optusnet.com.au>
From: "Malcolm Smith" <mjfreelancing@optusnet.com.au>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <400524f6$1@newsgroups.borland.com> <es1b005mlgdh2ahu2k1641mdku5tuflukq@4ax.com> <4005cf4e$1@newsgroups.borland.com> <c0dc00hj5q7r3aqhbbvh1f7s7mbdmkdapd@4ax.com> <40063ac3@newsgroups.borland.com> <f6od009r59mr1qjbki370b0ashlvo19rj7@4ax.com>
Subject: Re: Pixel size of text
Date: Fri, 16 Jan 2004 11:22:34 +1100
Lines: 35
Organization: MJ Freelancing
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.1165
NNTP-Posting-Host: 211.30.147.112
Message-ID: <40072ec4@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074212548 211.30.147.112 (15 Jan 2004 16:22:28 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.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