Skip to Content
avatar image
Former Member

socket printers... pco ?

I need to print some labels using a kind of printer that works with sockets, the printer has an "IP" and "PORT" and I have to send the content to be printed and receive the answer.

has anybody already done something like this ? do I have to use PCo, isn´t ?

is there another forum to talk about PCo ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Nov 19, 2013 at 01:41 PM

    HI Michel,

    What model of printer are you referring to?  

    What are the label contents and data formats?

    Are you using MII or SAP ME in your environment as well?

    PCo does not directly support this kind of Socket interface at present.

    Regards, Steve

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 18, 2013 at 12:36 PM

    up

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 25, 2013 at 03:17 PM

    I have the same issue. The difference is I need to connect to a weighing scale.
    I need to setup the connection to it and then push a command to recieve data as a response (most of the time the current weight).

    I would advice to write a custom action block for this. Working with sockets in Java ain't so hard to do. The tricky part seems to be deploying the action by using the generated jar file (didn't succeed in this part myself yet).

    What I want my action block to do works perfectly in plain Java though.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 27, 2013 at 04:04 PM

    I have solved my issues concerning contacting an external device by using a custom action that creates the socket sends data to the device and receives answers from it. it wasn't too hard to do once i figured out (with some help of the community) how to create a custom action.

    So i would advice you to create a custom action as well for communicating with the printer. It seems the logical solution until PCo supports this.

    Add comment
    10|10000 characters needed characters exceeded