🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: jak drukowac textowo z Delphi ?

#13760
From: Leslaw Plonka
Date: Wed, 30 Sep 1998 14:26
42 lines
1684 bytes

Zbigniew Lukaszewicz wrote:

> 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
> --------------------------------------------------------------------

Tak. Ja też tak robiłem - łatwo prosto i wygodnie. Polecam.
Lehó.
Technical Details
Message-ID: <36123F85.76595CB3@zeus.polsl.gliwice.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.task.gda.pl!polsl.gliwice.pl!not-for-mail
References: <360a511c.0@news.myna.com> <SvIO1.2685$36.480745@news.tpnet.pl>

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.task.gda.pl!polsl.gliwice.pl!not-for-mail
From: Leslaw Plonka <ciarek@zeus.polsl.gliwice.pl>
Newsgroups: pl.comp.lang.delphi
Subject: Re: jak drukowac textowo z Delphi ?
Date: Wed, 30 Sep 1998 15:26:13 +0100
Organization: Politechnika Slaska, Gliwice
Lines: 43
Message-ID: <36123F85.76595CB3@zeus.polsl.gliwice.pl>
References: <360a511c.0@news.myna.com> <SvIO1.2685$36.480745@news.tpnet.pl>
NNTP-Posting-Host: pc40-47.gorn.polsl.gliwice.pl
Mime-Version: 1.0
X-Mailer: Mozilla 4.06 [en] (Win95; I)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit