[Pansophy] Label Printing Problems
Mike Dickey
mdickey at jlab.org
Fri May 29 09:47:40 EDT 2020
Bobby,
Thanks for the info.
Mike Dickey
SRF Inventory Technician
Jefferson Lab
12000 Jefferson Ave
Newport News, VA 23606
(757) 269-7755
From: Bobby Lawrence <robertl at jlab.org>
Sent: Friday, May 29, 2020 9:29 AM
To: Mike Dickey <mdickey at jlab.org>
Cc: pansophy at jlab.org
Subject: RE: Label Printing Problems
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<mailto:mdickey at jlab.org>>
Sent: Friday, May 29, 2020 8:32 AM
To: Bobby Lawrence <robertl at jlab.org<mailto:robertl at jlab.org>>
Cc: pansophy at jlab.org<mailto: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/d844dff3/attachment-0001.html>
More information about the Pansophy
mailing list