Java Network Printing Over TCP/IP
812156Feb 24 2011 — edited Feb 27 2011Hi,
I am Arasu. I need to send print request (Send Files) to Network Printer (HP Laserjet 4015p) through Socket over TCP/IP.
I have the following inputs (Printer IP, Printer Name, TCP Port:9100 which we use)
I need to develop a java application which can directly communicate to network printer (HP Laserjet 4015p) and make a socket connection over TCP port and send files for printing.
My Application should fetch all printers available in network and make a socket connection to any network printer using IP and TCP port.
Is it possible? If Yes, Please provide some working examples.
I am stuck in this issue to make socket connection directly to printer with out any server intervention.
Please help me !
Thanks,
Arasu