06160015.txt 16-Jun-00


Subject: Re: Printing to a Serial docket printer
From: Arena <arenainformaticaNOarSPAM@zaz.com.br.invalid>

Hello Peter

>
Now I need to print to an Epson TM-U200 series with a serial
  interface, from COM1 or COM2. What's the trick? I know it
  must be simple,...
>
No tricks at all! In a .BAT file (app, autoexec, etc.):
rem Set the COM port to the correct parameters
rem <baudrate>, <parity>, etc. from the printer's manual
MODE COMn: <baudrate> <parity> <stopbits> <databits> <retry>
rem Redirect a paralell port to the COMn port
MODE LPTm:=COMn:
..
// In your app...
SET PRINTER TO LPTm
// Print!
..

HTH
Marcos Nogueira


Subject: Re: Printing to a Serial docket printer
From: "Stephan St-Denis" <tech@abeelabs.com>

Peter,

Maybe it's a stupid question but... Have you configured you
  COMx port using the MODE command in Autoexec.bat ?
MODE COMm[:] [BAUD=b] [PARITY=p] [DATA=d] [STOP=s] [RETRY=r]
Example :
MODE COM2 BAUD=19200 PARITY=N DATA=8 STOP=2 RETRY=2
Make sure to match the printer's settings.
In Clipper, all you have to do is to print to COMn.

Stephan St-Denis


Subject: Re: Printing to a Serial docket printer
From: "Peter Lawrance" <pos@seol.net.au>

Yep, thanks people.

I just put the following in the application batch file:
MODE COM1: 9600 n 8 1
and that works fine, SETting PRINTER to COM1 in the
  applications settings module.

Peter Lawrance