Link to home
Start Free TrialLog in
Avatar of mansur_mca
mansur_mcaFlag for United Arab Emirates

asked on

Java/j2ee - Printing the file(without priview) located in Application server.

I have developed a JAVA BEEN which currently able to print the file located in my local PC to my default printer configured (without opening doc).

I have placed the file in remote HTTP/apache server and configured same to access the file using the URL. Which is also working fine
(Like    http://server-name:port/interface-dir/test.pdf.)
.
Now I have requirement to print the same remote file just by passing the input as URL to above java code. ( as http is only the way to access file located on the app server).


Please advise how to achieve this. Or any there way
SOLUTION
Avatar of jb1dev
jb1dev

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mick Barry
can you post the code you use to print the file?
Avatar of mansur_mca

ASKER

ib1dev,

you have given an excellent solution, I will pass to this info to my team and update you.  

please let me know, your above solution can do PDF file printed just like normal file print view format usually we see?

if not, to bring file print on pages like as normal file print ( formatted), is there still method are available.

kindly please let me know the update for the above.

----------------------------------
objects,
If the above soultion does work, then I will let you know about coding
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial