🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.delphi
Article #13759

Re: jak drukowac textowo z Delphi ?

#13759
From: Zbigniew Lukaszewicz
Date: Fri, 25 Sep 1998 08:29
35 lines
1678 bytes
Marek napisał(a) w wiadomości: <360a511c.0@news.myna.com>...
>Jak z Delphi (3.0) drukowac na drukarce iglowej w trybie tekstowym ?
>Probowalem uzywac :
>
>AssignPrn(f);
>writeln(f,moj_text)
>
[...]

>Marek.
>

Tez mialem ten problem i poradzilem sobie tak:
---------------------------------------
const  nazwa_portu_drukarki: string = 'LPT1'; {moze byc tez np.
'\\mnietek\epson'}
...
var    f:textfile;
...

assignfile(f,nazwa_portu_drukarki);
rewrite(f);

...
writeln(f,moj_tekst);

...
system.closefile(f);
-------------------------------------------------------------------

Powodzenia!
--------------------------------------------------------------------
Zbigniew Lukaszewicz
z.lukaszewicz@torun.tpsa.pl
--------------------------------------------------------------------
Technical Details
Message-ID: <SvIO1.2685$36.480745@news.tpnet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!uw.edu.pl!news.nask.pl!orion.cst.tpsa.pl!news.tpnet.pl!not-for-mail
References: <360a511c.0@news.myna.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!uw.edu.pl!news.nask.pl!orion.cst.tpsa.pl!news.tpnet.pl!not-for-mail
From: "Zbigniew Lukaszewicz" <z.lukaszewicz@torun.tpsa.pl>
Newsgroups: pl.comp.lang.delphi
References: <360a511c.0@news.myna.com>
Subject: Re: jak drukowac textowo z Delphi ?
Lines: 38
X-Newsreader: Microsoft Outlook Express 4.71.1712.3
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Message-ID: <SvIO1.2685$36.480745@news.tpnet.pl>
Date: Fri, 25 Sep 1998 08:29:38 GMT
NNTP-Posting-Host: 195.116.248.58
X-Complaints-To: abuse@tpsa.pl
X-Trace: news.tpnet.pl 906712178 195.116.248.58 (Fri, 25 Sep 1998 10:29:38 MET DST)
NNTP-Posting-Date: Fri, 25 Sep 1998 10:29:38 MET DST
Organization: TPNET - http://www.tpnet.pl
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit