[Pansophy] Label Printing Problems
Bobby Lawrence
robertl at jlab.org
Fri May 29 09:28:47 EDT 2020
So this is likely a firewall issue. Please submit an incident report to the networking group to have them open a firewall hole from pansophy-2020.jlab.org to your printer on port 9100
From: Mike Dickey <mdickey at jlab.org>
Sent: Friday, May 29, 2020 8:32 AM
To: Bobby Lawrence <robertl at jlab.org>
Cc: pansophy at jlab.org
Subject: Label Printing Problems
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/2afb8559/attachment.html>
More information about the Pansophy
mailing list