Thanks Ross - that's exactly what I needed.

Cheers

Stephen



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Ross Levis
Sent: Monday, 20 September 2004 10:07 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Printing to a dot matrix

var
  MyFile: TextFile;
begin
  AssignPrn(MyFile);
  Rewrite(MyFile);
  Writeln(MyFile, 'Print this text');
  System.CloseFile(MyFile);
end;

Cheers,
Ross.

----- Original Message ----- 
From: "Stephen Bertram" <[EMAIL PROTECTED]>
To: "NZ Borland Developers Group - Delphi List" <[EMAIL PROTECTED]>
Sent: Monday, September 20, 2004 9:40 AM
Subject: [DUG] Printing to a dot matrix


> 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
>
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

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

Reply via email to