IMHO the first order of business is to get the device working
in windows.   The test of printing a file from notepad is a good
way to isolate the "delphi" problems from the "windows printing"
problems.

>From the sound of it I'd guess you are having "flow control" problems.
There could be lots of reasons:

1.  a faulty cable - so that data restraint signals from the printer
    aren't being seen.
2.  the printer may be configured to do "soft" flow control but the
    print driver is expecting hardware flow control.   Or vice versa.
3.  the print driver settings for flow control may be "none" or
    disagree with the printer configuration.   (The driver may not
    give you a way to set this - it may depend on the "port" configuration).
4.  you are using software flow control - and some disagreement in
    "parity" settings between the system and the printer device is
    causing the "XON/XOFF" characters sent by one side to be unrecognised
    by the other side.

(I'm no expert - there are probably other reasons).

Once you get it well-behaved printing from notepad I'd expect
your delphi printing problem to disappear.

ns



-----Original Message-----
From: Paul Lowman <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: 02 August 2000 12:16
Subject: [DUG]: Generic Printing


Question -

Any tricks to printing to a generic / text only printer ?

I'm having all sorts of problems such as not printing all text sent and
extra line feeds :-(

I am using AssignPrn etc

Problems seem to be apparent from windows as well ie won't print all of a
simple text file from Notepad.

TIA

Paul Lowman

Lowman Consulting Ltd.
Embedded Systems & Software

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to