Jump to content

Connecting to TCP/IP Printers


DaveE

Recommended Posts

Good Afternoon

I think I am missing something but, I am pretty certain I looked everywhere, including the examples, but cannot find what I need!

I am trying to connect 4 printers to the PLC through ethernet

I want to make the IP address of the printers variable, so I can set the printers up when I get them

I am confused as to how to set up the system to do that

I thought I had it when I set up 4 clients, but then couldnt work out how to change the IP address

 

Anyone got a clue for me?

 

Thanks Guys (and Gals)

 

 

Link to comment
Share on other sites

Hello DaveE.

In the UniLogic examples, under communication/protocol you will find an example called UniStream_070_TCP_Client_Server_Send_Message

This examples can work as basis for your application.

For printers is more or less the same ID. but in message composer you need to compose the message acording to the printer protocol.

In the example you will see you can choose the IP address of the device you will like to send the message.

Please let us know if this works for you.

If you need more help fell free to contact support at support@unitronics.com

UniStream_070_TCP_Client_Server_Send_Message.ulpr

  • Upvote 1
Link to comment
Share on other sites

  • 4 months later...

Good Afternoon

I think I am missing something but, I am pretty certain I looked everywhere, including the examples, but cannot find what I need!

I am trying to connect 4 printers to the PLC through ethernet

I want to make the IP address of the printers variable, so I can set the printers up when I get them

I am confused as to how to set up the system to do that

I thought I had it when I set up 4 clients, but then couldnt work out how to change the IP address

 

Anyone got a clue for me?

 

Thanks Guys (and Gals)

 

Hi DaveE

Please see the attached project. It uses the PCL5 protocol to print text to any TCP printer communicating with this protocol.

Also attached is a quick reference guide for the protocol.

PCL 5 Quick Reference Guide.pdf

UniStream_070_TCP_Printer_30_12.ulpr

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...