Hi everyone,
I want help with printing labels from ignition using Videojet 9550 with Zpl over TCP/IP.
If anyone has worked with Videojet printers before within ignition, can you please provide me with a step by step guide. I've tried a lot of things that I found on this forum, but to no avail. I'm not sure if I'm missing a step here. Please help!
Some of the solutions that I've tried are below:
I've also tried adding the labeler as a TCP driver under OPC devices and tried to write the ZPL code to its "message" tag.
On the labeler side, I used their configuration software called "Clarity Config" and worked with their tech support to properly configure it to receive Zpl code.
I'm not sure what's missing here, so any help would be appreciated!
Thanks @JordanCClark ,will do. Meanwhile, I downloaded drivers for the videojet 9550 printer and added the labeler as if it were a regular printer on my laptop. Then I tried printing test pages from windows, but its not printing anything. So I think that could be the issue. Running some more tests, will update you soon.
Another question. I saw this post here where it says you can print to Zebra using HTTPS:
Do you think the same will work for Videojet?Maybe a code like so:
#assuming i have the printerIP and zpl code
# Create an Http Client Object
client = system.net.httpClient()
# Send the command
response = client.post('http://%s:9100/pstprnt' %printerIP, data=zpl)
statusCode = response.getStatusCode()
Assuming you have printer IP and ZPL code, try this. You may have to try different socket parameters depending on your system. This is probably not correct based on your original requirements but could work?
import socket
printerName = # (printer IP or name goes here)
label = # (ZPL code goes here)
labelBytes = bytes(label)
mySocket = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
port = 9100
mySocket.connect((printerName,port))
mySocket.send(labelBytes)
mySocket.close()
Hi Bushmatic,
Apologies for the late response. I tried your code and unfortunately it hasn't worked. I've reached out to videojet's tech support to request further assistance.