Author Topic: Printing via ethernet port on fmd1616  (Read 12097 times)

kerry1150

  • Newbie
  • Posts: 3
    • View Profile
Printing via ethernet port on fmd1616
« on: August 10, 2012, 08:52:58 AM »
I have a ethernet barcode printer that I need to send information to.  Is it possible to configure the print command to use the ethernet port?  Or is there a new command that would do that?

Thank you for any assistance.

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:Printing via ethernet port on fmd1616
« Reply #1 on: August 10, 2012, 10:26:16 AM »
Does your barcode printer has a web service  that will accept string sent to its IP address? If it does, then you can use PRINT #4 "<TCPCONNECT ipaddress> to connect to the printer's IP address and then send the data according to the format that it can accept.

It is best to consult the supplier of the barcode printer if you have any question about the communication requirement.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

kerry1150

  • Newbie
  • Posts: 3
    • View Profile
Re:Printing via ethernet port on fmd1616
« Reply #2 on: August 12, 2012, 06:12:17 AM »
Thank you for your help, it worked great.  Couldn't get the tcp connect to work properly in the print routine, but once I put it in my initialize routine that runs at startup, everything started talking.  Just for anyones information, zebra printers with an internal print server use port 9100 as a default.