Author Topic: Printing from Com 1  (Read 10139 times)

Bruceh

  • Newbie
  • Posts: 22
  • a llama no longer !!
    • View Profile
Printing from Com 1
« 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

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:Printing from Com 1
« Reply #1 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.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS