Orarrp can't print pdf file directly to printer

oracle remote print utility (orarrp) can't print pdf file directly to printer.
we expect orarrp utility can handle ".rrpa" file (i.e. pdf file generated on the application server) by directly print the file to the client's printer, i.e. invoke the acrobat reader on the client side, display the the printer selection dialogue, after confirmation print the pdf file, then the acrobat reader close automatically nicely.
However we are disappointed as the acrobat reader startup and display the pdf file content but does not print and does not close.
After testing the problem several times, there are some findings:-
Finding (A):-
(a) for the success of direct printing of pdf file, a physical path must be provided; we have tried 2 methods:
1) using drag & drop to copy the pdf file directly to the browser
2) open pdf file in the browser directly using browser menu-->File-->Open.
(b) for the failure of direct printing, a virtual path is involved and we have also tried 2 methods:
1) when web.show_document() is used
2) enter the url to the URL bar of the browser,
eg. http://appsvr.com:7777/report/test_printout/APPSVR1094707.rrpa (this is a virtual path/url)
Finding (B):-
(a)when the physical path is used, a temporary pdf file is generated in the same directory where the rrpa file exists in the application server,
e.g. in application server: d:/printout/yyy.pdf is generated for d:/printout/xxx.rrpa when direct print occurs
(b) however when the virtual path is used, there is no such temp "pdf" file generated and direct print failed.
May be when virtual path is used, orarrp utility don't know where to generate the temp "pdf" so direct print doesn't occur.
So, anyone has similar experience or further queries or has solutions, please join.
Thanks for your attention.

Hi,
It is really late to give response this post. But still who ever refering to this post for the same issue this solution is useful for achieving same in background:
Even same can be used in smartforms, for getting spool request in PDF format as well which will decrease the size of file when printing in SAP printer.
ct_tline is PDF output:
DATA: lv_pdfsource TYPE xstring.
FIELD-SYMBOLS:<p> TYPE x. " <p> type any.
LOOP AT ct_tline INTO cs_tline.
  ASSIGN cs_tline TO <p> CASTING TYPE x.
  CONCATENATE lv_pdfsource <p> INTO lv_pdfsource IN BYTE MODE.
ENDLOOP.
* ->Create spool request in PDF format
CALL FUNCTION 'ADS_CREATE_PDF_SPOOLJOB'
  EXPORTING
    printer  = 'LOCL'            "Printer name supporting PDF device type
*   DEST     =
    pages    = 1
    pdf_data = lv_pdfsource        "XSTRING internal table
*   NAME     =
*   SUFFIX1  =
*   SUFFIX2  =
*   COPIES   =
*   PRIO     =
    IMMEDIATE_PRINT         = 'X'
*   AUTO_DELETE             =
*   TITLELINE               =
*   RECEIVER =
*   DIVISION =
*   AUTHORITY               =
*   LIFETIME = '0'
* IMPORTING
*   SPOOLID  =
* EXCEPTIONS
*   NO_DATA  = 1
*   NOT_PDF  = 2
*   WRONG_DEVTYPE           = 3
*   OPERATION_FAILED        = 4
*   CANNOT_WRITE_FILE       = 5
*   DEVICE_MISSING          = 6
*   NO_SUCH_DEVICE          = 7
*   OTHERS   = 8
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.

Similar Messages

  • Printing PDF report directly to printer, not using orarrp utility

    The orarrp utility works only with Windows machines and it
    requires installation on both the client machines and servers to
    support. We need a more general solution.
    Adobe has a java application/applet/javabean (and support
    classes) to view PDF, and it is easy to write a java driver
    which can be used in place of the orarrp utility. However,
    Adobe's Java Viewer is extremely slow, does not produce quality
    output, and is explicitly not supported by Adobe.
    My question then relates to Reports. When the Report server
    returns a PDF in the Previewer, I'm expecting the JINITIATOR,
    used by Forms, is also used to support the Report frame and
    functionality, including eventual printing. If this is the case,
    is there not a set of classes, downloaded with Jinitiator, which
    support the fonts, and printing of PDF to locally attached
    printers?
    And if so, shouldn't we, in Java, be able to make use of these
    classes and their APIs to print PDF files directly to locally
    attached printers without the need for Previewing first?

    within a forms trigger:
    1. generate the report
    2. copy from iAS to local
    like: webutil_file_transfer.url_to_client()
    3. print.exe /d:printer filename (for windows OS)

  • Print PDF file directly to store printer

    Hi Gurus,
    Having not found a solution, we think we need help from you. We have searched forums and google but have not found adequate solutions.
    We are a retailer having different stores. Our main office is using SAP. Each store has its printer and defined in our SAP system. We want to print PDF files directly to store printer using SAP . How should we do that ? We think there are 2 steps:
    1) Upload PDF files from network directory into SAP (We done it, no problem)
    2) Having now PDF files in internal tables, how should we proceed to print PDF files using store printers?
         Please note that we do not want to use CL_GUI_PDFVIEWER since we do not want to display the PDF and having the obligation to choose the print option from dialog and also we do not want to call Adobe OLE object  to print
    Any answer would be appreciated
    Thank you very much

    Hi,
    It is really late to give response this post. But still who ever refering to this post for the same issue this solution is useful for achieving same in background:
    Even same can be used in smartforms, for getting spool request in PDF format as well which will decrease the size of file when printing in SAP printer.
    ct_tline is PDF output:
    DATA: lv_pdfsource TYPE xstring.
    FIELD-SYMBOLS:<p> TYPE x. " <p> type any.
    LOOP AT ct_tline INTO cs_tline.
      ASSIGN cs_tline TO <p> CASTING TYPE x.
      CONCATENATE lv_pdfsource <p> INTO lv_pdfsource IN BYTE MODE.
    ENDLOOP.
    * ->Create spool request in PDF format
    CALL FUNCTION 'ADS_CREATE_PDF_SPOOLJOB'
      EXPORTING
        printer  = 'LOCL'            "Printer name supporting PDF device type
    *   DEST     =
        pages    = 1
        pdf_data = lv_pdfsource        "XSTRING internal table
    *   NAME     =
    *   SUFFIX1  =
    *   SUFFIX2  =
    *   COPIES   =
    *   PRIO     =
        IMMEDIATE_PRINT         = 'X'
    *   AUTO_DELETE             =
    *   TITLELINE               =
    *   RECEIVER =
    *   DIVISION =
    *   AUTHORITY               =
    *   LIFETIME = '0'
    * IMPORTING
    *   SPOOLID  =
    * EXCEPTIONS
    *   NO_DATA  = 1
    *   NOT_PDF  = 2
    *   WRONG_DEVTYPE           = 3
    *   OPERATION_FAILED        = 4
    *   CANNOT_WRITE_FILE       = 5
    *   DEVICE_MISSING          = 6
    *   NO_SUCH_DEVICE          = 7
    *   OTHERS   = 8
    IF sy-subrc <> 0.
    * Implement suitable error handling here
    ENDIF.

  • Why I cannot print pdf files on my printer after update to Adobe Reader 10.1.3??

    Recently I update to Adobe Reader 10.1.3 and now I cannot print pdf files on my printer (bizhub C5501), why? Is anyone out
    there know how to solve this issue?

    This may be helpful:
    http://helpx.adobe.com/acrobat/kb/troubleshoot-pdf-printing-acrobat-reader.html

  • Print pdf file directly from a folder, Adobe Reader X in  Windows Server 2003

    In previous versions of Adobe Reader we were able to print pdf files groupwise directly when selected in a folder.
    Now I've installed Reader X on the Windows Server 2003 environment. Logged in as administrator I can still select <Print> by selecting the right mouse button in a folder. Logged in as a user, this is not available.
    I checked user-rights and permissions and made sure they have full control.
    Someone who can help us in this matter?
    Thanks

    Thanks for your reply.
    The file menu doesn't show the print option either. We used to work this way, after installing the 9.0 and Reader X version, this option has disappeared from both the File menu and the right mouse button. For other filetypes, for example Excel the Print option is still available and works properly. Logged in as administrator on the serverconsole, there is no problem. So it seams to be something specific to pdf-formats in a server 2003 environment. The userrights are all set on full control (same as administrator).
    Thanks again

  • Send PDF file directly to printer

    Hi,
    I have a requirement. I need to send a PDF file to a printer directly for printing. Printer name will be fetched dynamically based on a parameter of report.
    Please let me know how can we do it.
    Regards,
    Guddan

    HI,
    Try this in your program. It may be useful to you.
    Declare this for printing options**
    DATA : ioptions LIKE itcpo .
    ioptions-tddest   = 'YOUR_PRINTER_NAME'.
    ioptions-tdimmed  = 'X'.
    ioptions-tdnoprev = 'X'.
    CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          application                 = 'TX'
          form                           = 'formname'
          OPTIONS                    = ioptions
          dialog                         = ' X '
    when you run the program directly it goes to the printer.
    Thanks,
    S.Kalaivani.

  • Adobe reader 11.0.5 - cannot print pdf file to network printer

    I have a 64 bit HP Pavilion a6230n PC running Windows 7, fully updated. I have wireless connection to a home file/printer server. My printer, a Brother HL-5140, is connected via USB to the file/printer server. All my other Windows programs capable of printing can print on the network printer - all except adobe reader. Adobe Reader sees the printer and all printing processes appear to be sending the file to the printer, however, the printer never gets the document. I've tried printing as a document, in which case the document sits in the printer queue until I delete it. If I send it as an image, each queue entry is deleted after adobe thinks it has printed. Again, nothing ever prints on the printer, and again, no other program running on my computer has any problems printing to this printer.
    I would appreciate any help with this problem.
    Addendum - 4 Nov 13:
    I uninstalled adobe reader 11 and installed a much earlier version, and now I can print pdf files. Clearly the printing issue is with the current versions of adobe reader.

    This phenomenon can happen with PDF files that have errors in them.  Adobe Reader or Acrobat may be able to fix these errors, but if you close the application, it will ask to save the corrected file.  If you save it once, that should no longer occur when you open it again.
    This is just one explanation, but it doesn't explain why that happens with every PDF you have.
    Test: does it also happen with a PDF that is not supposed to contain any errors: http://helpx.adobe.com/pdf/adobe_reader_reference.pdf ?

  • How to print PDF files using java print API

    Hi,
    I was goign throw lot of discusion and reading lot of forums related to print pdf files using java api. but nothing seems to be working for me. Can any one tell me how to print pdf files using java api.
    Thanks in advance

    Mike,
    Can't seem to get hold of the example described in your reply below. If you could let us have the URL to get then it would be great.
    My GUI application creates a pdf document which I need to print. I want to achieve this using the standard Java class PrinterJob (no 3rd party APIs I'm afraid, commercial restraints etc ..). I had a stab at it using the following code. When executed I get the pretty printer dialog then when I click ok to print, nothing happens!
    boolean showPrintDialog=true;
    PrinterJob printJob = PrinterJob.getPrinterJob ();
    printJob.setJobName ("Contract.pdf");
    try {
    if (showPrintDialog) {
    if (printJob.printDialog()) {
    printJob.print();
    else
    printJob.print ();
    } catch (Exception PrintException) {
                   PrintException.printStackTrace();
    Thank you and a happy new year.
    Cheers,
    Chris

  • How to print PDF files directly from SAP?

    We have created output that is being saved in a PDF format. We can store it on any drive or send it through email. However, we would like to be able to print a PDF file directIy without any manual intervention. Now users still have to open the file and hit the print button and we want to avoid this. So basically we want to be able to create e.g. a sales order, generate an order confirmation in PDF format and send it directly to the output device that we stored in output master data. I have a feeling it is not possible to print directly because output device has to be like a PDF1 to create the PDF file itself and there is no space left somewhere to store the physical output device. We use ECC 5.
    kind regards
    Angelique Heutinck

    You can use this custom FM -:)
      FUNCTION Z_PDF_DOWNLOAD.
    *"*"Interfase local
    *"  IMPORTING
    *"     REFERENCE(FILENAME) TYPE  STRING
        SELECT RQIDENT
        INTO (T_TSP01-RQIDENT)
        FROM TSP01
        WHERE RQOWNER EQ SY-UNAME
          AND RQCLIENT EQ SY-MANDT.
        APPEND T_TSP01.
        ENDSELECT.
        SORT T_TSP01 DESCENDING.
        CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
             EXPORTING
                  SRC_SPOOLID              = T_TSP01-RQIDENT
                  NO_DIALOG                = ''
             IMPORTING
                  PDF_BYTECOUNT            = NUMBYTES
                  PDF_SPOOLID              = PDFSPOOLID
                  BTC_JOBNAME              = JOBNAME
                  BTC_JOBCOUNT             = JOBCOUNT
             TABLES
                  PDF                      = PDF
             EXCEPTIONS
                  ERR_NO_OTF_SPOOLJOB      = 1
                  ERR_NO_SPOOLJOB          = 2
                  ERR_NO_PERMISSION        = 3
                  ERR_CONV_NOT_POSSIBLE    = 4
                  ERR_BAD_DSTDEVICE        = 5
                  USER_CANCELLED           = 6
                  ERR_SPOOLERROR           = 7
                  ERR_TEMSEERROR           = 8
                  ERR_BTCJOB_OPEN_FAILED   = 9
                  ERR_BTCJOB_SUBMIT_FAILED = 10
                  ERR_BTCJOB_CLOSE_FAILED  = 11
                  OTHERS                   = 12.
        IF SY-SUBRC EQ 0.
          CALL FUNCTION 'GUI_DOWNLOAD'
               EXPORTING
                    BIN_FILESIZE            = NUMBYTES
                    FILENAME                = FILENAME
                    FILETYPE                = 'BIN'
               TABLES
                    DATA_TAB                = PDF
               EXCEPTIONS
                    FILE_WRITE_ERROR        = 1
                    NO_BATCH                = 2
                    GUI_REFUSE_FILETRANSFER = 3
                    INVALID_TYPE            = 4
                    NO_AUTHORITY            = 5
                    UNKNOWN_ERROR           = 6.
          IF SY-SUBRC EQ 0.
            DELETE FROM TSP01 WHERE RQIDENT EQ T_TSP01-RQIDENT.
          ENDIF.
        ENDIF.
      ENDFUNCTION.
    Greetings,
    Blag.

  • When I print PDF files, the text prints correctly but pictures print as a black spot?

    I am using an HP Officejet Pro 8500 A909g, CB023A on Windows XP 32-bit.
    I have replaced all my ink cartridges, cleaned and aligned printheads, and printed the print quality diagnostic page and it is great.  I have printed documents with pictures in them and they are fine.  I have unistalled and reinstalled all of the printer software and latest updates with no problems during installation.  The print problem remains. As I just had a thought to print the troublesome PDF file from another computer, same printer, it printed perfectly.  I realize this is a software issue on my computer not associated with the printer itself and isolated to PDF files.  I am at a loss of what to look for.  Can anyone point me in the right direction?  Is there a setting in windows or adobe that would cause this kind of printing problem?  Thank you!!

    Hi there,
    This article should cover the issue you are experiencing. Give the steps outlined a shot and let us know if it helps.
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Can not print PDF file at all with Windows Vista

    I have Acrobat Reader 9.3.2.  I am working off of Windows Vista on my laptop to a network wireless printer (Brother MFC 9440).  I am unable to print pdf files.  About a week ago, we had problems with our printer printing anything.  I had to uninstall it and reinstalled it and it now works fine except the pdf files. I have had no problems printing any other files on any other programs but this one.  I am unsure what specific "updates" I ran while trying to figure out printers issue.  When in Reader, everything seems normal.  When I hit print, the printer box pops up as normal and then I hit ok, my printer icon at bottom pops up for about 5 secs and nothing happens.  I know that I am connected to printer due to all other programs can print.  I do not have access to another printer to see if pdf will print on another printer, but do know that the other two computers used in this office (mac laptop and mac desktop) both are able to print pdf files to this printer without a problem.  I have gone thru all the other help steps to try to resolve the situation:  it still will not print when I hit "print as image", made sure that my printer is marked as network and is default printer, made sure to check that I have all upgrades, etc.  I am not getting any error message, so am unsure what is wrong.  It just will not print.  Is there anyone that could give me some suggestions that I have not tried?  I would REALLY appreciate it! Thanks!

    Another user experience exactly the same issue with vista and printing from Adobe reader.
    http://forums.adobe.com/thread/642000?tstart=1  Its copied below as a reference.
    The problem was on my Auntys PC, and yes i did updated Adobe Reader to v9.3.2 and still the same issue underlned below.
    My Aunty lives 70 miles away so will not be trying anything else.
    The printer works fine with every other application only Adobe Reader files will print.
    May 19, 2010 7:31 AM
    Can not print PDF file at all with Windows Vista
    I have Acrobat Reader 9.3.2.  I am working off of Windows Vista on my laptop to a network wireless printer (Brother MFC 9440).  I am unable to print pdf files.  About a week ago, we had problems with our printer printing anything.  I had to uninstall it and reinstalled it and it now works fine except the pdf files. I have had no problems printing any other files on any other programs but this one.  I am unsure what specific "updates" I ran while trying to figure out printers issue.  When in Reader, everything seems normal. When I hit print, the printer box pops up as normal and then I hit ok, my printer icon at bottom pops up for about 5 secs and nothing happens.  I know that I am connected to printer due to all other programs can print.  I do not have access to another printer to see if pdf will print on another printer, but do know that the other two computers used in this office (mac laptop and mac desktop) both are able to print pdf files to this printer without a problem.  I have gone thru all the other help steps to try to resolve the situation:  it still will not print when I hit "print as image", made sure that my printer is marked as network and is default printer, made sure to check that I have all upgrades, etc.  I am not getting any error message, so am unsure what is wrong.  It just will not print.  Is there anyone that could give me some suggestions that I have not tried?  I would REALLY appreciate it! Thanks!

  • How to print pdf files not using acrobat product?

    i just want to print pdf files,but not want to use the adobe acrobat or acrobat reader,just want to write a tools print pdf files directly.

    > no i just want to print it,not need to read it.can you help me?
    Well, the problem is to print it you need to be able to read it. Something needs to convert it into a format the printer can understand (most printers are PostScript or PCL).
    I'm not sure you entirely understand what a PDF file is. It's not a fancy text file. It's a binary format. Saying "I want to print a PDF without a PDF interpreter" is like saying "I want to run an EXE without Windows". You need software to interpret the format.
    You certainly can write your own software to interpret the PDF format, convert it to a print language and output that to a printer, but as Aandi said you will need to start by reading the PDF Reference so you know how the inside of a PDF file works, and it will most likely take several years of development even for a seasoned, expert programmer. It's just not as simple as "Printer, meet PDF. PDF, meet printer."

  • Printing pdf files E90

    Its all fine that we can view pdf files on the Nokia E90. What if I wanted to print a pdf file to a printer like I can print emails and other documents. I cannot find a print menu for this on the Nokia E90.

    I guess you can't print pdf files direct from E90, but through your PC Nokia PC suite. I've tried to print from USB port from E90, but couldn't make a connection.

  • Why have I lost the ability to print pdf files?

    All of a sudden I can't print pdf files.  The print screen shows a blank file and it prints blank, of course.

    This doesn't sound like it is a FornsCentral issue unless you have this problem only with PDF generated from FormsCentral.
    Let me know if that is the case. Otherwise you should ask your question on the Acrobat or Reader forum
    Acrobat Forum: http://forums.adobe.com/community/acrobat
    Reader Forum: http://forums.adobe.com/community/adobe_reader_forums
    Gen

  • MacBook won't print PDF files, it states The process "pstopdffilter" stopped unexpectedly with status 1

    Question: MacBooK won't print PDF files, after selecting print it states; The process "pstopdffilter" stopped unexpectedly with status 1. I am currently using a HP Deskjet 4400 series printer and it works fine with all our other lap top computers. Thanks for any help.

    The pictwpstops filter on OS X machines, converts the job to straight Postscript before the normal CUPS filters get it.
    If the Adobe APPs have a choice of what kind of PS to send, like Binary or ASCII, try toggling that setting to the opposite of what it is.
    Though, if a reboot fixed it then likely the problem was a remporary bit flip, which may or may not happen again.

Maybe you are looking for