Internet PLC Forum

General => Technical support => Topic started by: Bruceh on August 30, 2005, 11:56:36 PM

Title: Printing from Com 1
Post by: Bruceh on August 30, 2005, 11:56:36 PM
Has anyone had any experience with getting a T100MD to interface with a serial printer (Canon BJC-265SP) via the COM 1 port?
Some potential problems areas are:
1- what baud rate should I be using?
2- should the serial cable be straight thru or 'null modem'


Any other pointers would be appreciated
Thanks
Title: Re:Printing from Com 1
Post by: support on August 31, 2005, 09:00:41 AM
The T100MD+ COMM1 port can be configured with any baud rate from 1200 to 38,400 and 7 or 8 data bit, 1 or 2 stop bits, none, even or odd parity using the SETBAUD command. So it should be able to interface to practically any kind of RS232 serial printer. Most printers should support 9600,8,1,n format. You can change COMM1 to this format by executing SETBAUD 1,3.

If your printer cable is meant to connect directly to a PC (most are) then you have a female plug and you need a null modem (female to female) to interface to the PLC's COMM1 port. There may be a need to short the RTS/CTS or DTR/DSR together if your printer require handshaking.