🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

One last easy printing question

#15149
From: Anthony
Date: Thu, 17 Jul 2003 03:41
15 lines
1392 bytes
Due to issues with TPrinter and the VCL, have had to change over to API
function calls.  I have been able to convert TextOut, MoveTo, and LineTo.

All I have left to convert is the following three lines:

      Printer()->Canvas->Pen->Color=clBlack;
      Printer()->Canvas->Font->Name="Courier New";
      Printer()->Canvas->Font->Size=10;

Does any one know how to do these with API function calls?

TIA.

Anthony
Technical Details
Message-ID: <3f161c85@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news.he.net!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,9d1c7af093dd4f5b,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-16 20:56:55 PST
From: "Anthony" <awhitesell@attbi.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: One last easy printing question
Date: Wed, 16 Jul 2003 23:41:36 -0400
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 24.128.134.183
Message-ID: <3f161c85@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1058413701 24.128.134.183 (16 Jul 2003 20:48:21 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news.he.net!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail