PDF Viewer and Print to Spool

Hello everyone,
I have a problem using the class CL_GUI_PDFVIEWER with the method PRINT, I always triggering a termination with a short dump.
Can anyone help me or have sample program how to print a PDF file into the spool. I already check the demo program SAP_PDF_VIEWER_DEMO, but the PRINT method is not included.
Thanks in advance...

Hello everyone,
I have a problem using the class CL_GUI_PDFVIEWER with the method PRINT, I always triggering a termination with a short dump.
Can anyone help me or have sample program how to print a PDF file into the spool. I already check the demo program SAP_PDF_VIEWER_DEMO, but the PRINT method is not included.
Thanks in advance...

Similar Messages

  • How do i view and print pdf file in mac osx with ff4.0?

    How do i view and print pdf files in ff 4.0 on a mac with osx. for some reason the updated ff version does not support it. Makes no sense that something that worked in an earlier version now does not...
    Thanks,
    Ron

    Please don't post the same question multiple times!

  • Viewing and printing a PDF file from Java Swing Application

    Hello,
    I need to view and print PDF files from Java Swing Application.How do I do that?I appreciate your help.
    Thank you
    Sumana Somareddy

    If you have a link to the URL pointing to the PDF file, you can allow the browser to open it. Then use the print function of the browser to print the PDF document.
    Regards,
    Tak.

  • Upload pdf and print to spool

    Hi,
    I have a requirement to upload a pdf file and print the pdf file together with a smartform in 1 spool.
    I am not sure how to read and print the pdf file. Tried using GUI_UPLOAD type BIN, but how do you send it to spool in pdf format?
    Will definitely reward.
    Cheers.
    Wong

    You have to use print controls and pass the print controls to smartform function module ..
    get the pdf file using gui_upload FM ,File type should be 'BIN'.
    use below logic :
    DATA: p_out  LIKE ssfcompop,
            p_ctrl LIKE ssfctrlop.
    CLEAR: p_out,
             p_ctrl.
      p_ctrl-no_dialog = 'X'.
      p_ctrl-device    = 'PRINTER'.
           p_out-tdnoprev  = 'X'.
            p_out-tdnoprint = 'X'.
            p_out-tdnoarch  = 'X'.
            p_out-tddelete  = 'X'.
            p_out-tddest    = p_dest.
            p_out-tdnewid   = ''.
            p_out-tdimmed   = ' '.
            p_out-tdcopies  = 1.
            p_out-tddataset = sy-repid.
            p_out-tddelete  = ' '.
            d_suffix1 =   t_inv-zztrkno+2(4).
            CONCATENATE sy-datum+2 sy-uzeit INTO d_suffix2.
            p_out-tdsuffix1 = d_suffix1.
            p_out-tdsuffix2 = d_suffix2.
           <b> p_out-tdfinal   = 'X'.</b>     " When you use this parameter ,it creates the only one spool and it may contain more than one information
    assume that Smart form FM
    CALL FUNCTION fm_name
               EXPORTING
                    inv_header         = tmp_header
                    output_options     = p_out
                    control_parameters = p_ctrl
                    user_settings      = ' '
               TABLES
                    t_item             = tmp_item
                    t_price            = tmp_price
                    t_partner          = tmp_partner
                    t_docflow          = tmp_docflow
                    t_beer_item        = tmp_beer_item
                    t_wine_item        = tmp_wine_item.
          IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.

  • How to view and print pdf files

    how to view and print pdf files

    Download and install Adobe Reader: Adobe Reader Install for all versions
    Open the PDF file using it. If security restrictions don't prevent it you could also print it.

  • HT4059 i purchased a tour guide book and would like to view and print from my PC, how can I?

    i purchased a tour guide book and would like to view and print from my PC, how can I?

    You purchased an ibook?
    Can I print my books and PDFs from iBooks?
    Yes, you can print PDFs and notes you've entered from iBooks, but the option to print ePub books is not available.2You can also email PDFs and notes you have written from iBooks."
    iBooks: Frequently Asked Questions (FAQ)

  • Adobe Reader 9.1.3 Issues with browser viewing and printing

    I have several users reporting issues after upgrading to Adobe Reader 9.1.3
    Issue #1:  User tries to open a PDF on a bank website using Adobe 9.1.3 but receives an error stating file could not be found.  Adobe 9 was uninstalled and Adobe 6 re-installed.  The file on the bank website was then viewable without issue.
    Issue #2:  Different user successfully opens pdf on a different bank website, but is unable to print while viewing in browser using Adobe 9.1.3.  User had to save file to desktop and reopen locally to print from Adobe 9.1.3.   Uninstalling 9.1.3 and re-installing Adobe 6 allowed them to print from the browser successfully.
    Issue #3:  turning off "View in Browser" causes the error "File cannot be found" when trying to view a PDF on a website.  This appears to be happening on sites external to our network, but not on internal sites.  Turning on "View in Browser" corrects the problem.
    Any assistance that can be provided would be greatly appreciated!

    To clarify my previous post, I had already seen http://forums.adobe.com/message/1770581 .  I mentioned in my post that I get the message "Preview not supported" when I click the Preview button from the print dialog in Adobe Reader, and thus concluded that the "Preview" workaround discussed in that thread wasn't helping me.
    However, re-reading that post, they were talking about using the Mac "Preview" application to print the pdf file.  Like every other application (other than Reader) I have tried, the Mac's Preview application prints just fine, and is another workaround.
    The only program that doesn't print for me is Adobe Reader.
    BTW, I also have an Intel chip in my MacBook Pro.
    Re-installing Leopard, as suggested by one post in that thread, is not a reasonable option for this problem.
    In fact, since Preview allows me to view and print .pdf's , my solution is probably just going to be not to use Adobe Reader.  In fact, had I not been new to the Mac, I would have known that I didn't need Adobe Reader at all.
    However, I'm glad this happened, in the sense that I use CS3 on the PC, and had considered moving to CS4 on the Mac.  However, since Adobe apparently hasn't figured out how to get printing to work on a Mac from their flagship product (!), I will be sure to do a lot of testing of CS4 before considering buying the upgrade.

  • Pages disappear when viewing and printing

    On our Windows 7 Professional (Service Pack 1) 64-bit computer, using the Reader application directly (not through a browser), we have been frustrated with blank pages appearing while viewing and printing.
    This happens in Adobe Reader 9.5.0, 9.5.3, and 11.0.06.  (We had been experiencing these problems with 9.5.3, so uninstalled and installed 9.5.0, then updated to 11.0.06.  Same problem appears in all versions, but now is exceptionally bad in 11.0.06.   At one time we had updated to Reader 10, but reverted to Reader 9 because Reader 10 would not center pages correctly when printed, especially when Fit to Page was used.)
    When we open a file, pages initially display correctly.  But when we begin to scroll back and forth from page to page, the page images start disappearing. When we print, pages may display correctly just before the print button is pressed, and then may disappear after pressing the print button. If it disappears before the print function has completed, blank pages are output.   If a multi page document, the first few pages may print correctly then blank pages. 
    Once a page goes blank while viewing or printing, it does not restore.  One must close the PDF file and open it again.
    We have over 200 documents of 30 to 50 pages each, which are printed on a frequent basis and then bound.  It is extremely annoying and costly to have blank pages output when there should be info on the page.    We have been printing these documents for eight years.  Two years ago started using a brand new Windows 7 computer for printing PDF files, but the blank page issue started surfacing about 6 to 9 months ago and is getting more frequent.

    The system has 4GB of memory.  The processor is Intel Core i5 - 2400.
    As per your suggestion, I updated the driver for the integrated graphics
    card (Intel Graphics HD 2000).  The new driver is dated January 2014.  The
    old driver was dated June 2011.
    I tried to replicate the blank pages situation, and none went blank.   Will
    continue to test over the next week or so, but this looks very promising.
    Many, many thanks, Pat!

  • Viewing and printing form

    Is there a way to view (and print) my form in the same format that they are submitted? I only seem to be able to view all responses in a table format.

    You can save a response as a PDF (with the original form layout).
    This tutorial explains: http://forums.adobe.com/docs/DOC-1383

  • Is there a way to view and print a single month.....

    without the partial previous and partial following months?
    I'd like be able to view and print, for example, just August, without seeing the last few days of July and the first few days of September.
    Thanks.

    Yes, people I work with use it, assistants fill the fields out for me. As far as I know there is no "Print Browser" option. Some folks have assistants copy and paste the info into text, csv or xml files.    Since everthing has gone to meta tags, this approach is going the way of the electric spoon or feeding mayonnaise to Tuna.
    Peace & Covering Fire,
    B.S.

  • How to view and print xps documents with Safari

    Is there a way to view and print Microsoft *.xps using Safari?

    xps is a Microsoft Proprietary format. There is a third-party viewer app, but I don't know how well it works or if it is compatible with Lion: http://www.nixps.com/index.html

  • Viewing and printing attachments

    Hi all
    I think perhaps I am being exceptionally thick but I am trying to view and print attachments from an email.
    Previously, I used to click on the attachment, open and then print it - hey presto, easy!
    Now, however, the only option when I click is 'download to computer'.  OK, done that but where is it?
    I presume there is some kind of default location for these files once downloaded but I can't find them!
    Can anyone tell me where to look, please?

    When you click on “Save” a box is brought up giving you option to open, save or cancel. If you click on the small black triangle to the right of the save button it will give you options to save, save as or save and open.
    Click on “save as”. This will open the folder where your attachments are being saved to. If you then look in the address box at the top it will show you the path to get to that folder. It will be something like your computer name > documents > downloads. If you then go to that folder you should find your attachment there.
    The other option is right click the save button as above but then select save and open and the attachment will then be opened for you and you can save it where ever you want. It will of course mean it is saved in the default location and where you saved it.
     You could also change the  location you want it to save to by right clicking and selecting save as then select the folder you want to save it into.

  • [CS5.5] Lock PDF export and print presets

    Hi,
    With this post I would like to ask a question regarding locking certain features in Indesign.
    Does anyone know if it is possible to ...
    - lock PDF export and print presets so a user is not abble to change/override any preset properties, and is forced to use a preset without the possibility to override any of the properties when using it?
    - force a user to use one of the predefinied presets to print or export a document without the ability to create a new preset?
    - verify PDF-files to check what Indesign print/export preset was used?
    Being part of a larger prepress team, we would like to make sure that, every PDF-file created by each team member, is created with the same specs.
    Does anyone know of any plugin, tool or release that enables such a functionality?
    Kind regards
    John

    If the employees cannot follow company policy, they need to know that there are other people looking for work who can. Yes, mistakes happen, but that would be a case of choosing the wrong preset from a list (which, if you leave more than one installed, can't be avioded). Changing settings against policy is not a mistake.

  • WARNING 20225 - PDF Port and Printer

    I recently bought a new computer and installed Adobe Acrobat 7.0 on it.  (Previously I had this software on my older computer where it worked just fine and sufficed for my needs.)
    When I installed this on my new computer, I got the following error message: "Warning 20225.  Adobe Acrobat 7.0 Setup was unable to create a new item: Adobe PDF Port and Printer.  The Adobe PDF may be unavailable."
    Sure enough, it is indeed "unavailable."
    How do I fix this problem?

    Open Start>Printers and right click on the Adobe PDF printer and select the properties. Under the port listing you should see it trying to use the Adobe PDF Port. Simply change that to File (Print to file). You may have to play a bit to configure this method, but it is a a work around. The PDF Maker may even work this way, but I have not tried that. You would have to then open the file in Distiller to create the PDF. You might be able to use a watched folder to automate the conversion a bit more, but all will require some trial and error. Do not be surprised if things do not work or seem messed up, that is the nature of trying to use backdoor methods like this. The alternative as suggested is to upgrade and AA X may be the last upgrade you will qualify for with AA7. Of course, the next version if probably 1.5 years down the road. If you can afford it at some point, I would suggest the upgrade and not continue the workaround, even if you can get it to work.
    The workarounds depend on taking out of the loop the various parts of the system that are so OS dependent. AcroTray is one of those components for the print process. PDF Maker is the other big one that is so dependent on how MS wrote OFFICE. I find it interesting that some folks complain about Acrobat not working with OFFICE and then go to a 3rd party to get the same result they would have gotten with Acrobat if they had simply printed to the Adobe PDF printer, but no they insisted PDF Maker. PDF Maker did not work and so they moved on without asking the basic question of printing.
    In any case, good luck. I am just running on and need to quit -- get some work done.

  • How do I view and print pdf files

    I am using FireFox ver 12 on a Mac and can not view or print pdf documents. I have installed PDF Viewer 0.2.5 plugin but it does not appear to work.

    I disabled the PDF Viewer plug-in and set my Application preference to use Adobe Reader for pdf files. All is working fine now.

Maybe you are looking for