From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting to a printer through ethernet

Hello,

 

I have a printer that I wish to send either a Buffer or file to through an ethernet connection in LabWindows but I am not sure how to accomplish this. 

 

Can anyone point me in the right direction? 

 

Thanks!

0 Kudos
Message 1 of 5
(2,384 Views)

Hi mjeddi,

 

What are your system specifications?

 

OS:

LabWindows/CVI version:

Printer Make:

Printer Model:

 

What communication protocol does the printer use?

 

-Mitchell | NI

0 Kudos
Message 2 of 5
(2,353 Views)

Hello Mitchel,

 

Thanks for your response.

 

LabWindows/CVI: 2015

Printer Make: CAB

Printer Model: Hermes +4

 

At the moment we are using RS232 in LabWindows to communicate with the printer, but wish to change to Ethernet protocol.

 

We are able to use ethernet protocol to communicate with it when we use the printer's own software, but I am unsure on how to establish communication using LabWindows.

 

Thanks!

0 Kudos
Message 3 of 5
(2,351 Views)

Does CAB make a C API or driver for the Hermes +4 Printer?

 

 

0 Kudos
Message 4 of 5
(2,339 Views)

I'm using this for a cab EOS1: How To: Send Data Directly to a GDI Printer

But I had to convert my EPL2 commands to JScript.

 

(If the link is failing: it's OpenPrinter() - StartDocPrinter() - StartPagePrinter() - WritePrinter() - ...)

 

-----------------------
/* Nothing past this point should fail if the code is working as intended */
0 Kudos
Message 5 of 5
(2,303 Views)