Article View: borland.public.cppbuilder.nativeapi
Article #1692Re: Printing 132 Columns
From: Giuliano
Date: Mon, 02 Jul 2007 19:32
Date: Mon, 02 Jul 2007 19:32
25 lines
1610 bytes
1610 bytes
Il Mon, 02 Jul 2007 14:36:41 -0400, Colin B Maharaj <noreply@myhost.com> ha scritto:
[snip]
>So now it has to kinda compress horizontally.
>What is the best font for this? How do I
>init this or setup the printer canvas?.
>
>By the way I am using the normal windows printer,
>in that I am not using direct printer commands
>like in the old day.
[snip]
Hi Colin,
I suggest you to use a fixed size font, like Courier new,
Fixed Sys, and so on...
As it's possible to squeeze the font horizontally in order to adapt
the horizontal size, IIRC, before calling, e.g., the API CreateFontIndirect,
you can try to assign to the lfWidth member of LOGFONT structure a appropriate
value to fit the text for 132 cols.
Regards
Giuliano
Technical Details
Message-ID:
<1pji83h9n66co7g1bo4tn3vkkbiehsplot@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<468945b8@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,7b4ba8586e33e3dc X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Giuliano <> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Printing 132 Columns Date: Mon, 02 Jul 2007 21:32:42 +0200 Message-ID: <1pji83h9n66co7g1bo4tn3vkkbiehsplot@4ax.com> References: <468945b8@newsgroups.borland.com> X-Newsreader: Forte Agent 2.0/32.652 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 81.72.236.131 X-Trace: newsgroups.borland.com 1183404768 81.72.236.131 (2 Jul 2007 12:32:48 -0700) Lines: 25 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail