Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java Network Printing Over TCP/IP

812156Feb 24 2011 — edited Feb 27 2011
Hi,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 27 2011
Added on Feb 24 2011
2 comments
2,132 views