Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

capturing print event from PDF viewer

Former Member
0 Likes
655

Hi all,

I am using class CL_GUI_PDFVIEWER to display and print a document using a SAP dynpro screen & a custom container. I am successfully able to do this, but would like to capture the print event from the viewer in some way. I did not see any print events for this class; is there any way to capture the printing of a PDF document from this viewer? Thanks much,

Rebecca Levings

Hi all,

I am using class CL_GUI_PDFVIEWER to display and print a document using a SAP dynpro screen & a custom container. I am successfully able to do this, but would like to capture the print event from the viewer in some way. I did not see any print events for this class; is there any way to capture the printing of a PDF document from this viewer? Thanks much,

Rebecca Levings

2 REPLIES 2
Read only

Former Member
0 Likes
551

Hi Rebecca,

I am using class CL_GUI_PDFVIEWER to display PDF, but also want to print the document.

If I use PRINT Method of this class I am getting a runtime error. Can you please share your print code .. My requirement is to print a PDF File stored in file Client System without manual intervention.

Thanks in advance!

Read only

Former Member
0 Likes
551

Hi Rebecca,

did u solve ur issue - if so pls send me the fix - bcose i m facing the same issue with my coding.

am using class CL_GUI_PDFVIEWER to display PDF, but also want to print the document.

If I use PRINT Method of this class I am getting a runtime error. Can you please share your print code ..