Current Position:Home > Orarrp can't print pdf file directly to printer

Orarrp can't print pdf file directly to printer

Update:10-11Source: network consolidation
Advertisement
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.

The Best Answer

Advertisement
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.
  • Orarrp can't print pdf file directly to printer Update:10-11

    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 t

  • Print PDF file directly to store printer Update:11-30

    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 d

  • I can copy PDF file directly into Notability apps. Can I copy other documents such as word. Update:11-30

    From Docs ToGo I can transfer PDF file directly in Notability with Open in. Can I do the same with other docs such as word, excel ThanksFrom Docs ToGo I can transfer PDF file directly in Notability with Open in. Can I do the same with other docs such

  • How can I make chromium to open PDF files directly in okular? Update:11-30

    Hi all, I switched from firefox to chromium and there is one thing that I would like to have solved: At the moment, the only way to open PDF files from the web is to first save them locally and open them afterwards from the chromium statusbar or from

  • Print pdf file directly from a folder, Adobe Reader X in  Windows Server 2003 Update:10-11

    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

  • How to print PDF files directly from SAP? Update:10-11

    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 a

  • Printing to a PDF file directly Using Adobe's Printer driver and NO GUI Update:10-11

    We are on Oracle 10G running Oracle Forms/Reports 6i. I would like to be able to run Oracle Reports directly to a PDF file using Adobe's pdf driver and not oracle's pdf driver (not happy with it). (This can be done easily enough) using Adobe's PDF Co

  • Send PDF file directly to printer Update:11-30

    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, GuddanHI, Try this in your program. It may

  • Why Firefox 3.6- continues openning PDF files directly without a prompt??? Update:11-30

    When I access a direct link to a PDF file, the browser loads the file without asking if I really need open it using Firefox. The purpose was to download and save the file to my HD and not to visualize it on Firefox browser. People have been reporting

  • Open a pdf file directly on a certain page Update:11-30

    Hi I want to use a hyperlink in a other documenten to open a pdf-file on a centain page. de first part is oke but I don't no the code for opening de right page example: C:\<name pfd-file>.pdf and then the code to open the page (for example page 15)