Depends on a few other factors...
1. You can assign LPT1: instead of the filename in assignfile and
just write to it.
2. If you need the user to be able to read whats bene printed so far
without the whole page having to be ejected (ie like a log printer)
then there is a lot more work.
Date sent: Mon, 20 Sep 2004 09:40:55 +1200
From: "Stephen Bertram" <[EMAIL PROTECTED]>
Priority: normal
To: "NZ Borland Developers Group - Delphi List" <[EMAIL PROTECTED]>
Subject: [DUG] Printing to a dot matrix
Send reply to: NZ Borland Developers Group - Delphi List <[EMAIL PROTECTED]>
<mailto:[EMAIL PROTECTED]>
<mailto:[EMAIL PROTECTED]>
> Hi All
>
> I seem to recall seeing the answer to this somewhere - perhaps someone
> can refresh my memory?
>
> Using Delphi 5 I need to output directly to a bunch of dot matrix
> printers - I need to select the port (ideally on other workstations on
> the network) and output pure ASCII.
>
> While I can use TPrinter if I have to, I really want to squirt the
> output using a Writeln(Text) format. The data is already in a fixed
> font columnar format.
>
> TIA
>
> Stephen
>
>
> Disclaimer : This communication contains information that is confidential and the
> copyright of ensynergy Limited or a third party. If you are not the intended
> recipient of this communication please delete and destroy all copies and telephone
> ensynergy Limited on +64 9 3551591 immediately. If you are the intended recipient of
> this communication you should not copy, disclose or distribute this communication
> without the authority of ensynergy Limited. Any views expressed in this
> communication are those of the
individual sender, except where the sender specifically states them to be the views of
ensynergy Limited. Except as required by law, ensynergy Limited does not represent,
warrant and/or guarantee that the integrity of this communication has been maintained
nor that the communication is free of errors, virus, interception or interference.
>
>
> _______________________________________________
> Delphi mailing list
> [EMAIL PROTECTED]
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
Regards
Rohit
======================================================================
CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand
PH (649) 489-2280
FX (649) 489-2290
email [EMAIL PROTECTED] or [EMAIL PROTECTED]
======================================================================
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi