cancel
Showing results for 
Search instead for 
Did you mean: 

Printing Adobe form using Webdynpro Java

Former Member
0 Kudos

Hi All,

I have a requirement to integrate data coming from web services onto a adobe form on the Portal.

This form needs to be generated in the background and then automatically sent to the local printer attached to the pc.

The idea is that the user need not preview the form and then send it for printing.

Any suggestions on how this custom functionality could be achieved.

Any help will be greatly appreciated.

Regards

Nidhideep Bhandari

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

"This form needs to be generated in the background and then automatically sent to the local printer attached to the pc.

The idea is that the user need not preview the form and then send it for printing." - not possible. I think what you intend to say is to call up the print option without the preview, correct?

"Send it for printing" is a bit confusing a statement.

I haven't personally tried this but what you can try to do is use JPS (Java Print Service).

Here's the link to the documentation: [JPS Documentation|http://java.sun.com/j2se/1.4.2/pdf/JPS_PDF.pdf]

And this for more info: [http://java.sun.com/javase/technologies/desktop/printing/]

There you can indicate the file stream is a pdf file for printing.

"application/pdf"

Goodluck!

Regards,

Jan

Former Member
0 Kudos

Hi Jan,

I am trying to build an Webdynpro Java application using JPS ,but I am getting error "No Print service found".Did you face this kind of problem while implemeting JPS.

Regards

Nidhideep Bhandari

Former Member
0 Kudos

Hi Nidhideep Bhandari,

In WebDynpro Java there is no feature available to generate a PDF in the background and then automatically sending it to the local printer attached to the pc.

You have show the adobe form and that can printed as a normal PDF document, otherwise if you are using a CE check the following link for printing.

http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417400%29ID1633882950DB0033258752567587398...

In this also you have to click on Print to print the data and it is not PDF, it is just a normal view data.

Thanks,

Jhansi