cancel
Showing results for 
Search instead for 
Did you mean: 

not printing adobe forms

jincent_navarro
Explorer
0 Kudos

Hi, experts!

I'm trying to direct print my adobe forms in a program with my actual printer, but it doesnt work when getpdf = 'X', but when i commented the getpdf = 'X', its working but the output print is not the actual layout, the output prinout is like xml code or javascript code, can you guys help me with this.

this is my code for printing:

Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

gruenik
Explorer
0 Kudos

The Parameter getpdf is to determine if you want to directly display the pdf or if you want to get the pdf Data.

When you set ls_outputparams-getpdf = 'X' the you get the "code" of the PDF document which you can for example use in an odata Service in the getStream Method

When you leave it blank you normally get the Popup for Printing

jincent_navarro
Explorer
0 Kudos

but if i leave blank the ls_outputparams-getpdf the output of the printout is not correct, the output will be like this(see attachement), can you please help me with the correct set of parameters to print the correct layout, thank you.

Regards