Capturing print event from PDF viewer

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 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!

Similar Messages

  • How to Capture Print Event ??

    Post Author: aarayas
    CA Forum: General
    Hi, I need Capture Print Event(), for report.In the the list to event from  crystal report viewer not have event to print?? sorry for my bat english, i speak spanish; tranks, 

    If there's no error being thrown by this function when you cancel the
    printing, then you can't.
    Edit: Just checked, and there isn't.

  • How can i find the option to delete a recent print job from the "View Job History

    1. Photosmart 5510 e-ALL-IN-ONE SERIES
    2. Window 7 64 bit
    How can i find the option to delete a recent print job from the "View Job History

    Hello alfmswongg,
    Currently there is no option to delete print jobs from the "View Job History" section of ePrintCenter.  
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • Will not print text from PDFs - all other print is fine - Using nitro reader - Win7- HP4255

    Will not print text from PDFs - all other print is fine - Using nitro reader - Win7- HP4255

    Mulga
    Welcome to the HP Community Forum.
    Have you tried asking your question on the Nitro-Reader Forum?
    Nitro Reader Forum
    If you would like to try using the Adobe Reader, you might find help here:
    Manage Print Output with Print Preview
    See the section on PDF files
    Click the Kudos Thumbs-Up to show you appreciate the help.
    Click Accept as Solution when the Answer provides a Fix or Workaround!
    I am pleased to provide assistance on behalf of HP. I do not work for HP. 
    Kind Regards,
    Dragon-Fur

  • Capture print event in adobe reader and show a message

    Hi,
    We have only adobe reader installed on our machines, is it possible to use the sdk to capture the print event in adobe reader? Our goal is to show a message to the users before the print dialog appears and
    as soon as the user prints a document?
    Is it possible?
    Thank you,
    Peter

    You can certainly develop a plugin for Adobe Reader that would do this.
    Plugins are written in C/C++ and, for Reader, you will need to obtain a license & associated key from Adobe to enable that plugin.   Details are all in the SDK.

  • Webdynpro and eventing from team viewer

    Hi.
    We are trying to add new fields to the MSS "General Data" iView (com.sap.pct.hcm.eeprofilegeneraldata.par) and are considering the following approaches:
    1.) Write additional java code to retrieve the data we need and display it on the iview.
    2.) Create a new iview from scratch using webdynpro.
    At the moment we are leaning towards option 2 as we do not have much java experience and have found webdynpro relatively easy to use. But my question is....how difficult would it be for a webdynpro iview to pick up the eventing from the standard Team Viewer iview? I would want to make sure that when a user clicks an employee on the Team Viewer, his/her data would show up in the new webdynpro iview. Any details on how to go about this would be appreciated.
    Thanks in advance,
    Chris

    Hi Chris
    If you are creating a new  iview from the scratch to display the details you had to have the epcf subscribe function. Here you get the parameter passed from the first iview. For this the raise event have to be fired from the MSS iview. So in the Msssiview You write the code for Raiseevent ON click of the button.
    <b>Event Sending from par</b>
    EPCM.raiseEvent("urn:com.sap.tc.webdynpro.example.reponamespace","linkclickevent",variable);
    <b>
    Event Receving on Webdynpro</b>
    WDPortalEventing.subscribe("urn:com.sap.tc.webdynpro.example.reponamespace","linkclickevent",wdThis.wdGetEpcflistenAction());
    public void onActionepcflisten(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String dataObject )
        //@@begin onActionepcflisten(ServerEvent)
    //    wdContext.currentContextElement().setName(dataObject);
    //      wdComponentAPI.getMessageManager().reportSuccess("listen eventfired......");
         wdComponentAPI.getMessageManager().reportSuccess("dataobj is....."+dataObject);
        //@@end
    (The variable dataObject cannot be changed to other name)
    Regards
    Geogi

  • COPY from PDF-viewer

    Hi. I tried copy some text from PDF file in Adobe Reader, or Foxit Reader, or PDF-Xchange Viewer. And always feature COPY was disabled.
    Why ? On Windows 7 it works.

    not sure how it's working from windows 7, what pdf reader are you using?
    the document is protected from being copied, but looks like its allowed for accessibility copying - not sure what setting that would refer to though
    Regards,
    Denis Cooper
    MCITP EA - MCT
    Help keep the forums tidy, if this has helped please mark it as an answer
    My Blog
    LinkedIn:

  • Capturing Print Statements from Oracle SP in Java

    Hi all,
    Greetings...
    I have one query...pls find below the info for the same:
    From my Java application, i am calling Oracle SP using Callable Statement.
    Here is the simple Oracle SP..
    01. CREATE OR REPLACE PROCEDURE TEST_ORACLE(errcode OUT
    02. NUMBER, errdesc OUT CHAR)
    03. AS
    04. BEGIN
    05. dbms_output.put_line('Start of the SP');
    06. // SQL Statements will come here
    07. dbms_output.put_line('End of the SP');
    08. END TEST_ORACLE;
    In Line (5) and (7), I have given Print Statements (SOP statements). I need to capture those SOP messages from Java while executing SP / after exceuting it.
    In the Java application, i tried the following:
    callableStatement.execute();
    SQLWarning warnings = callableStmt.getWarnings();
    while(warnings != null)
    if(warnings.getErrorCode() == 0 && warnings.getSQLState() == null)
    System.out.println("Print Statements From SP: "
    + warnings.getMessage() );
    warnings = warnings .getNextWarning();
    Here warning object is null and i am unable to capture those print statements.
    How to capture those print statements from Oracle SP in Java ?
    Thanks in advance..
    Regards,
    Manikandan

    Try writing them to a file and read them from your program.
    Regards,
    Carol.

  • IPhoto Printing Services from pdf format?

    I created a book in iPhoto 08 but it was deleted accidentally. I have Time Machine, but the the book under Project does not show up at all.
    Fortunately, i have printed out a pdf version. Can I send the pdf to Apple to order the printing of photo book? Thanks.

    a book is just a part of the iPhoto library - not something on its own in any way, just entries in the database that can be found or restored alone - so if you open TM in the dock and go back to when the book was there - select the iPhoto library and click restore (restore to the desktop so you do not overwrite your current library unless you want to totally go back to that library) and then depress the option key and launch iPhoto and select the restored library on the desktop - your book should be there
    Apple does not print form PDFs according to their documentation - you could ask them - http://www.apple.com/support/photoservices/ordering_options/ - or use Google to look for other alternatives
    LN
    Message was edited by: LarryHN

  • Print comments from PDF larger?

    I have a client who wants to print comments from Acrobat Reader XI. Is there any way to get a larger font size in the printouts than the very small default font? I can find no method other than printing the entire comment page scaled larger on an oversize sheet, which is very cumbersome and in this case impossible as she works at home and does not have a large format printer.

    For API, Application Program Interface, there is the Acrobat SDK forum:
    http://forums.adobe.com/community/acrobat/acrobat_sdk
    For coding in Acorbat JavaScirpt there is ths the Acrobat Scripting forum:
    http://forums.adobe.com/community/acrobat/acrobat_scripting

  • Removing printer offsets from PDF pages

    I accidently set up a printer page offset when creating PDF pages from Word Perfect X3. Is there a way to remove the offset, or do I need to go back to the original WP pages (which I can't find!)?

    I recreated a page and made sure there were no offsets listed. The PDF page still prints offset. I found sources to recreate the page, displayed codes, and removed anything marked as offset. There is still an offset to the left when pre-print displaying either the source page or the PDF version.

  • Invoking an Event from another view

    In the Interaction Record viewset (IRecViewSet), when a user creates a Followup I need to not only create the followup but also automatically Save the main interaction record as well; as if the user clicks the Create Followup button then the Save button.
    The problem is the Create Followup button is in the Followup view, and the Save button is in the Reason view.
    How can I invoke the EH_ONSAVE event of the Reason view from within the Followup view?
    Thanks.
    (we are using CRM5.0)

    Check the Code for EH_ONSAVE for  View IRecReason ( Interaction Record ) . You can call the same code in your follow up View . Should work . Let me know

  • Cannot print color from pdf correctly

    Hello ,
    i have hp designjet roll 111 when print any thing form autocad i can print fine and good resolution
    but when try to print form pdf i can print but the resolution for color not clear.
    i am installed latest driver and update acrobat reader and change dpi 
    and also try print from another computer the result the same 
    please help me i am tried more 
    thanks..

    Hello active-new,
    Welcome to the HP Forums.
    To get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial product. You can do this at Commercial Forums.
    Thank you for your time.
    Cheers,    
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • Trouble printing images from pdf

    When I print a selected portion from a pdf that has an image, the image is really blurry. Any help?

    You can also try a script...
    Dave Saunders wrote tow of them that work quite well for simple two-up, no bleed files. The first is at http://pdsassoc.com/downloads/Buildbooklet.zip and as far as I( know still works as recently as CS6, but cannot handle crossovers at the spine. For those you can try Dave's CS3 Booklet Script
    The first script shuffles the pages in a new file, and you need to export with the Spreads box checked when you are done. The scond works by placing the original pages into a new file with pages wide enough to hold two of the originals, so you export that with Spreads unchecked.

  • Problems printing envelope from pdf file with logo & return address.

    I have the 6310 All-In-One Printer. I am experiencing major problems printing envelopes (standard size, #10) from a pdf file that is setup with a business logo, name , and address. First of all, the User Guide on page 63 directs you to load the envelope with the flaps up and on the left. This prints out return address in the lower right corner of the envelope front. I have insert the envelope opposite to the User Guide to get the information printed in the correct location, the upper left corner.
    Bigger problem - The logo, which is placed to the left of the business name and address will NOT print out. My preview printer window shows the logo, but it will not print. I cannot figure out what I am doing wrong.
    Suggestions???

    Kindly follow the steps here:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01096354&tmp_task=useCategory&cc=au&dlc=en&lang...
    supported envelopes:
    Envelopes U.S. 10: 105 x 241 mm (4.125 x 9.5 inches)
    U.S. 9: 98 x 225 mm (3.9 x 8.9 inches)
    A2: 111 x 146 mm (4.4 x 5.8 inches)
    DL: 110 x 220 mm (4.3 x 8.7 inches)
    C6: 114 x 162 mm (4.5 x 6.4 inches)
    Although I am working on behalf of HP, I am speaking for myself and not for HP.
    Love Kudos! If you feel my post has helped you please click the White Kudos! Star just below my name : )
    If you feel my answer has fixed your problem please click 'Mark As Solution' and make it easier for others to find help quickly : )
    Happy Troubleshooting : )

Maybe you are looking for

  • Macbook Pro 13" early-2011 Fans at high speed

    Hi guys, I hope you can solve this pussle for me. My Macbook Pro (13", early 2011, Core i5 @ 2.3) started to behave weird, its fan (only the exhaust one, since it's a 13" Macbook Pro with the Intel HD integrated graphics) is running at top speed (620

  • How do I open te files in older versions of Director?

    I made a movie in Director 11 and it doesn't open in director 10. It show's a message like "file is too new". I tried to find in Director 11 an option for saving in older versions of director but I didn't find anything. How's that possible?

  • Collect core dumps in a Linux vmware

    Hi, we have a Linux installed using VMware, and are using this for teaching. Unfortunately collect core dumps on every executable, on some installtions. We tried studio 12 and express and different Linux distributions. Scientific Linux 5.1 and Ubuntu

  • Power Map not working properly

    Hi all I have worked sporadically with Power Map since the first GeoFlow non-public beta. Now i have upgraded to the new bits, with both Power Query and Power Map, but my Power Map isn't functioning. When i plot some data i can se a lot of grey Squar

  • Add placeholder footage to render queue via script

    When I do the below on a placeholder (import replace usage sequence) nothing happens.  Is there something wrong with my code or do placeholders not register as addable items?  If I add code to get and alert the name of the placeholder I get the name.