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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.