Author Topic: Bar Code printing  (Read 8484 times)

skj1402

  • Newbie
  • Posts: 28
  • The Innovator!
    • View Profile
Bar Code printing
« on: December 18, 2007, 02:58:14 PM »
Is it possible, using the T100MD range of PLC's, to print out bar codes via the RS232 ports, from data derived from a custom function via data received from a bar code scanner i.e. by say using the Print# Input# commands? And can one also be generated by using an image file of a bar code (.bmp, jpeg, etc) via the printer ports?  Thanks.

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:Bar Code printing
« Reply #1 on: December 18, 2007, 06:07:00 PM »
Yes, absolutely. You can use the INPUT$ command to read data from bar code scanner via one of the serial ports, do some processing and then use the PRINT #n command to send the processed data out via another serial port to a bar code printer.

The T100MD+ PLC can send ASCII or binary data out of its serial port. It may be a bit too much to ask it to handle image file. But if the file is small and can be stored in EEPROM you can take the data byte by byte to send out of the serial port.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS