>I will have a display pole for a cash register that display whatever I send to COM1. Do I just set the printer to COM1 or will it be more complex ?
>
>Thanks
Eric,
It depends. Does the pole display have a driver that makes the OS think it is a printer. If so, then you can simply write to that "printer" which is installed on COM1.
If not and you have to write explicitly to a serial device, then the cheapest solution would be to use the MSCOMM control. You could add it to a form/container and save it as a class. You could add your own PEMs to create an easy interface to write. You can get a small example at
http://fox.wikis.com/wc.dll?Wiki~MsComm32~VFP.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao