[Pansophy] Label Printing Problems

Mike Dickey mdickey at jlab.org
Fri May 29 08:32:17 EDT 2020


Bobby,

Would you take a look at port settings and java.net.Socket on the Pansophy production servers to figure out why label printing is timing out?

Label printing is working correctly in development.  Below is an excerpt of the code is executing the print operation.

printer_address = cookie.barcode_printer_name;
     printer_port = 9100;
     printer_socket = CreateObject("java", "java.net.Socket").init(printer_address, printer_port);
     printer_output_stream = printer_socket.getOutputStream();
     printer_output_stream.write(toBinary(toBase64(barcodeData)));
     printer_output_stream.close();

There are no differences in the code between development and production.

Thank you.

Mike Dickey
SRF Inventory Technician
Jefferson Lab
12000 Jefferson Ave
Newport News, VA 23606
(757) 269-7755

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/pansophy/attachments/20200529/db8a8447/attachment-0001.html>


More information about the Pansophy mailing list