AP Checks Report RTF or PDF??

Hi all,
I just started working on the AP Checks report in XML Publisher. I was wondering whether I need to use the RTF type or PDF type template. I was told that the PDF type template is better for check printing, because it allows us print the data out in fixed position. Is that right?
Any thoughts???
Thanks!!

Hi,
I am struggling to complete the AP Cheque Printing report.
Could you please let me know the step which you followed and could you please send the rtf that you are using.
Followings are the steps I did.
1. Create rdf and register in APPS.
Executable is defined in Customization AP application
Concurrent Program is in Payables application.
2. Create Data Definition and Template in XML Publisher administrator in Payables.
3. Attached the Concurrent program in AP Format set up.
4. Make the Payment, The report is calling and showing completed normal but the output is not coming.
5. Then I run the XML report Publisher and pass the request id then the output is coming as PDF.
But the requirement is when we make the payment , The output should come and it will go to the printer for printing..
Thanks in Advance
Regards
Pradipta

Similar Messages

  • Print Quote the report is in PDF but need to be new RTF template

    We have 11.5.10 apps, the Quote screen is an OAF screen.
    When clicking Print Quote the report is in PDF, They want to include a new RTF template for printing instead of PDF.
    The new RTF template is created. But what I do not know is how the quote screen will take the new template. I can use XMLP to upload the RTF template but that may not be sufficient to make it appear in the Quote screen.
    I am looking at the profile ASO:Default Layout Template. Am I headed the right way?

    Hi,
    Please refer to the following documents, it should be helpful.
    Note: 780722.1 - How to Create a Custom Print Quote Template in Oracle Quoting ?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=780722.1
    Note: 392728.1 - How to Modify the data source for the XML version of the Print Quote report
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=392728.1
    Note: 468982.1 - How To Customize The Asoprint.Xsl
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=468982.1
    Regards,
    Hussein

  • PAYABLES NOT GETTING THE REPORT OUTPUT IN PDF AFTER APPLYING RUP5 R12

    Hi All,
    RDBMS:10.2.0.3.0
    Oracle Apps :12.0.4
    OS:AIX 5.3
    Problem Description:
    We are presently facing an issue in Payables not getting the report output in PDF esp for the reports "Invoice Register", Invoice Hold Report and also other reports. We were able to generate the reports till our last test performed on last Thursday. This instance was cloned over the last weekend and probably the new upgrade to RUP5 R12,would have impacted it.
    Concurrent Programs submitted are completed normal but on clicking "view output" results in Blank PDF output.
    The error message what was shown is as below:
    "Adobe Reader could not open 'AcrC.tmp' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)".
    Where could we locate ther above 'AcrC.tmp' of Adobe Reader..
    could anyone please share such an experience encountered for resolution..
    Would appreciate an early response..
    Thanks for your time!
    Regards,

    I suggest you speak to your DBA/sysadmin. This is not likely to be a reports problem.
    Check that you can see the output from apps through the viewer (the report may not hav output anything)
    Check whether you can print anything on that printer from apps.
    May also be worth checking to see if you can print to another printer from this report.

  • Converting simple report output to PDF print layout issue

    Hi all,
    I am converted one report output to PDF format, it is working fine in one DEV sever, but when we moved it to other server the layout of output preview & font size  is not coming properly (as same in DEV server)  in the new server. I am using the below code, please check & correct me if anything is wrong.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
          EXPORTING
            copies                 = '1'
            cover_page             = space
            destination            = 'LOCL'
            expiration             = '1'
            immediately            = space
            mode                   = space
            new_list_id            = 'X'
            no_dialog              = 'X'
            user                   = sy-uname
            line_size              = 200
            line_count             = 65
    *        layout                 = 'Z_65_230'
            layout                 = 'X_58_170'
            sap_cover_page         = 'X'
          IMPORTING
            out_parameters         = mstr_print_parms
            valid                  = mc_valid
          EXCEPTIONS
            archive_info_not_found = 1
            invalid_print_params   = 2
            invalid_archive_params = 3
            OTHERS                 = 4.
        IF sy-subrc EQ 0.
    **--Creating Spool Request.
          CALL FUNCTION 'JOB_OPEN'
            EXPORTING
              jobname          = lv_job_name
            IMPORTING
              jobcount         = lv_job_count
            EXCEPTIONS
              cant_create_job  = 1
              invalid_job_data = 2
              jobname_missing  = 3
              OTHERS           = 4.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ELSE.
    **--Submitting the Report & Get the Output.
            SUBMIT  zpsr_submit_prcng WITH SELECTION-TABLE t_ebeln TO SAP-SPOOL WITHOUT SPOOL DYNPRO
                                  SPOOL PARAMETERS mstr_print_parms
                                  USER             sy-uname         " User for runtime authorizations
                                  VIA JOB          lv_job_name
                                  NUMBER           lv_job_count
                                  AND RETURN.
            IF sy-subrc <> 0.
              MESSAGE ID    sy-msgid TYPE sy-msgty NUMBER sy-msgno
                      WITH  sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ELSE.
              CALL FUNCTION 'JOB_CLOSE'
                EXPORTING
                  jobcount         = lv_job_count
                  jobname          = lv_job_name
                  strtimmed        = 'X'
                IMPORTING
                  job_was_released = lv_job_released.
              IF sy-subrc <> 0.
                MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
              ENDIF.
    Thanks & Regards
    Avish
    Moderator Message: Please use code tags when pasting code snippets. Also paste relevant portions of the code
    Edited by: Suhas Saha on Jul 13, 2011 3:05 PM

    Dear Alexander,
    Thanks for the reply.
    In this I am using the FM 'CONVERT_ABAPSPOOLJOB_2_PDF'. I have checked the settings from SPAD that is also same in both servers for particular output device. But the patches are diffrennt in both the servers, the server from which layout is not coming properly having the high level patches in compare to the other server(which is working fine).

  • Report Rendering (Print & PDF) trashes report that looks fine on screen

    Since installing SQL Server 2012 SP2 CU3 (11.0.5556) a number of reports look fine on screen but when printed or exported to PDF the format is totally altered so that either many blank lines are inserted between lines, or lines are squashed together. It
    doesn't affect all reports. Reports (both affected and not affected) use Tablix with both Row Groups and Column Groups. There is no obvious consistency between those reports that are affected.
    All of our SQL Server instances are hosted on VM-Ware virtual servers.
    I've raised the issue via Microsoft Connect: https://connect.microsoft.com/SQLServer/feedback/details/1063641/report-rendering-print-pdf-trashes-report-that-looks-fine-on-screen
    Any thoughts or workarounds? Is this a bug?
    Thanks!

    Hi nsam,
    We installed the sqlserver 2012 sp2 cu3 in our lab, but unfortunately the issue cannot be duplicated, so I provided the following options for your reference.
    1),Please help to provide a way with detail steps to duplicate the issue.
    2),If you don't know how to duplicate the issue, please try to remove the sqlserver 2012 sp2 cu3 update by the following steps to see if the issue can be fixed.
    In Control Panel, open the Add or Remove Programs item.
    2. Click Change or Remove Programs .
    3. To see all the updates for the SQL Server 2012 installation, click to select the Show Updates check box.
    4.Uninstall the cumulative hotfix package.
    3,)Please visit this link to see the various support options that are available to better meet your needs: 
    http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone

  • Printing Header and Footer once in HTML and on all pages in RTF and PDF using one RDF

    Hi,
    I am using a single RDF to generate reports in HTML,PDF and RTF.
    For printing the header only on the first page I used the
    following trigger
    begin
    srw.get_page_num (page_num);
    IF upper(:P_FORMAT) = 'HTML' THEN
    if page_num = 1 then
    return(true);
    else
    return (FALSE);
    end if;
    ELSE
    return (TRUE);
    END IF;
    end;
    I alo require to print the footer once on the last page in case
    of HTML and on all pages for RTF and PDF.Is there any way I can
    get the total number of pages or is there any other way to
    acheive this. ???
    Any help would be appreaciated .
    Thanks,
    Alka

    Generally, one template can not create nice output in all formats. In your case, you would need a format parameter to suppress headers/footers if it's value is 'EXCEL'. The problem is (I wish someone would correct me on this) that we can not refer the standard parameter already there and have to create another, user-defined parameter.

  • Converting report output to pdf by submit spooland email to multiple vendor

    Hi all,
               my current program converting the report output to pdf and then downaloding andsending  to vendor email.If user enter single vendor is o.k. but if suppose user enter multiple vendors,report is dipalying with multiple vendor information and all this information converting to one pdf file only.but i need particular vendor pdf have particular vendor info only excluding remaining vendor info.I am pasting my code.can anyone suggest?
    TYPES: BEGIN OF type_data,
           lifnr TYPE ekko-lifnr,
           matnr TYPE lips-matnr,
           vgbel TYPE lips-vgbel,
           vgpos TYPE lips-vgpos,
           mfrgr TYPE lips-mfrgr,
           vbeln TYPE ekes-vbeln,
           erdat TYPE ekes-erdat,
           lfdat TYPE ekes-eindt,
           lgort TYPE lips-lgort,
           verur TYPE ekes-xblnr,
           lfuhr TYPE ekes-uzeit,
           lfimg TYPE lips-lfimg,
           meins TYPE lips-meins,
           posnr TYPE lips-posnr,
           kdmat TYPE lips-kdmat,
           dabmg TYPE ekes-dabmg,
           eindt TYPE eket-eindt,
    * Add by liza DEVK989704
           park TYPE ZPO_PARK-menge,
    * End by liza DEVK989704
           END OF type_data.
    DATA: gt_data TYPE STANDARD TABLE OF type_data.
    DATA: gw_data LIKE LINE OF gt_data.
    form display_list.
    DATA: lv_maktx   TYPE makt-maktx,
            lv_adv(01) TYPE c.
      DATA: lv_menge TYPE zomm_t0104m-menge.
    *-- Set titles
      title1 = 'Shipping notifications'.
      title2 = '(Formerly Known As Matsushita Industrial )'.
      title3 = sy-title.
      IF NOT pa_fax IS INITIAL.
        NEW-PAGE LINE-SIZE 120 LINE-COUNT 44.
        title3 = 'Outstanding shipping notifications by supplier'.
      ENDIF.
      SORT gt_data BY lifnr lfdat matnr vgbel vgpos eindt.
      LOOP AT gt_data INTO gw_data.
        AT NEW lifnr.
          NEW-PAGE.
          sy-pagno = 1.
    *-- Get the vendor name
          CLEAR: gv_name1,
                 gv_telf1,
                 gv_telfx.
          SELECT SINGLE name1 telf1 telfx
                 INTO (gv_name1, gv_telf1, gv_telfx)
                 FROM lfa1
                 WHERE lifnr = gw_data-lifnr.
        ENDAT.
    AT NEW matnr.
    *-- Get the material description
          CLEAR lv_maktx.
          SELECT SINGLE maktx INTO lv_maktx
                 FROM makt
                 WHERE matnr = gw_data-matnr
                   AND spras = sy-langu.
        ENDAT.
    *-- If "only pending shipping notifications" is selected, remove all
    *   entries with no pending quantity
        IF gw_data-lfimg LE gw_data-dabmg AND
           pa_pend = 'X'.
          CONTINUE.
        ENDIF.
    *-- Highlight entries where the SN delivery date is before the PO
    *   delivery date
        IF gw_data-lfdat < gw_data-eindt.
          FORMAT INTENSIFIED ON.
          lv_adv = 'X'.
        ELSE.
          FORMAT INTENSIFIED OFF.
          CLEAR lv_adv.
        ENDIF.
        lv_menge = gw_data-lfimg - gw_data-dabmg.
    * Add by liza DEVK989704
        clear: PARKING, T_PARK.
        refresh: T_PARK.
        Select * from ZPO_PARK into T_PARK
        where vbeln = gw_data-vbeln
        and lifnr = gw_data-lifnr
        and matnr =  gw_data-matnr.
        Append T_PARK.
        Endselect.
        Loop at T_PARK.
          PARKING = PARKING + T_PARK-menge.
        Endloop.
        gw_data-park = PARKING.
    * End by liza DEVK989704
        IF pa_fax IS INITIAL.
          WRITE:/2(18) gw_data-matnr,
                  (40) lv_maktx,
                       gw_data-vgbel,
                       gw_data-eindt,
                  (04) gw_data-mfrgr,
                  (18) gw_data-verur,
                       gw_data-vbeln,
                       gw_data-lfdat,
                  (07) gw_data-lfimg UNIT gw_data-meins,
                  (07) gw_data-dabmg UNIT gw_data-meins,
                  (07) lv_menge UNIT gw_data-meins,
                       gw_data-lgort,
                       gw_data-erdat,
                  (01) lv_adv,
    * Add by liza DEVK989704
                  (08) gw_data-park.
    * End by liza DEVK989704
        ELSE.
          WRITE:/2(12) gw_data-matnr,
                  (26) lv_maktx,
                       gw_data-vgbel,
                  (16) gw_data-verur,
                       gw_data-vbeln,
                       gw_data-lfdat,
                  (07) gw_data-lfimg UNIT gw_data-meins,
                  (07) gw_data-dabmg UNIT gw_data-meins,
                  (07) lv_menge UNIT gw_data-meins,
                       gw_data-lgort.
        ENDIF.
        PERFORM write_vline.

    AT END OF lifnr.
         If pa_dtim NE '000000'.
          ULINE.
          SKIP.
          WRITE:/12 TS_VEND.
          WRITE:/12 TS_ATT.
          WRITE:/12 TS_FROM.
          SKIP.                                     "D01K934099
          WRITE:/12'DELIVERY TIME:',pa_dtim.        "D01K934099
          SKIP.                                     "D01K934099
          WRITE:/12 TS_TEXT1.
          WRITE:/12 TS_TEXT2.
          WRITE:/12 TS_TEXT3.
          WRITE:/12 TS_TEXT4.
        Else.
          ULINE.
          SKIP.
          WRITE:/12 TS_VEND.
          WRITE:/12 TS_ATT.
          WRITE:/12 TS_FROM.
          WRITE:/12 TS_TEXT1.
          WRITE:/12 TS_TEXT2.
          WRITE:/12 TS_TEXT3.
          WRITE:/12 TS_TEXT4.
    Endif.
    ENDAT.
         move-corresponding gw_data to t_data.
         move : lv_maktx  to t_data-maktx,
                lv_menge  to t_data-menge,
                lv_adv    to t_data-adv,
                parking   to t_data-park.
           append t_data.
    L_X = 'X'.
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
       EXPORTING
         NO_DIALOG                      = L_X
       IMPORTING
         OUT_PARAMETERS                 = GS_PRINT_PARAMS
         VALID                          = G_VALID
      IF SY-SUBRC  0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
          GS_PRINT_PARAMS-PAART = 'X_65_80'.
          GS_PRINT_PARAMS-LINSZ = '185'.
    *   /*----------store the current selection screen details---------/
      CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
        EXPORTING
          CURR_REPORT           = SY-REPID
        TABLES
          SELECTION_TABLE       = T_RSPARAMS
       EXCEPTIONS
         NOT_FOUND             = 1
         NO_REPORT             = 2
         OTHERS                = 3
      IF SY-SUBRC  0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *   /*--- importing variable value set at first time to restrict the infinite loop --------/.
    IMPORT VAR FROM MEMORY ID 'abc' .
      VAR = VAR + 1 .
      P_UNAME = SY-UNAME .
      P_REPID = SY-REPID .
    * /*------checking variable to restricted scecond time exction of this block of code---------/
      IF VAR = 1 .
        V_MEMID = 1 .
        EXPORT VAR TO MEMORY ID 'abc' .
    * /*-----------submitting the spool request--------------/
        SUBMIT (P_REPID) WITH SELECTION-TABLE T_RSPARAMS
                           TO SAP-SPOOL
                         SPOOL PARAMETERS GS_PRINT_PARAMS
                         WITHOUT SPOOL DYNPRO
                         AND RETURN.
    endif.
    FREE MEMORY ID 'abc'.
    *  /*-------Calculating the lenth of report name--------/
      v_len = STRLEN( P_REPID ) .
    *  /*-------consutrucing the database variable  rq2name to search the spool request---------/
      IF v_len >= 9 .
        CONCATENATE P_REPID+0(9)
                    P_UNAME+0(3) INTO LC_RQ2NAME .
      ELSE.
        V_LEN1 = 9 - V_LEN .
        DO V_LEN1 TIMES .
          CONCATENATE V_TEMP '_' INTO V_TEMP .
        ENDDO.
        CONCATENATE P_REPID V_TEMP
                    P_UNAME INTO LC_RQ2NAME .
      ENDIF.
    *  /*--------selecting the spool request using the above constructed variable----------/
      SELECT  * FROM TSP01 INTO TABLe IT_TSP01
              WHERE RQ2NAME = LC_RQ2NAME .
    * /*--------sorting the internal table-----------/
      SORT  it_tsp01 BY RQCRETIME DESCENDING .
    * /*--------reading the first spool request-------/
      READ TABLE IT_TSP01 INDEX 1.
    * /*--------Convert Spool to PDF-----------/
      IF GS_PRINT_PARAMS-PDEST IS INITIAL.
        GS_PRINT_PARAMS-PDEST = 'LOCL'.
      ENDIF.
      CONCATENATE P_DEST T_DATA-LIFNR '.PDF' INTO G_FILENAME.
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          SRC_SPOOLID                    = IT_TSP01-RQIDENT
         NO_DIALOG                      = SPACE
       IMPORTING
         PDF_BYTECOUNT                  = G_BYTECOUNT
       TABLES
         PDF                            = T_PDF
       EXCEPTIONS
         ERR_NO_ABAP_SPOOLJOB           = 1
         ERR_NO_SPOOLJOB                = 2
         ERR_NO_PERMISSION              = 3
         ERR_CONV_NOT_POSSIBLE          = 4
         ERR_BAD_DESTDEVICE             = 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  0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

  • Report output  in PDF format instead of TEXT

    Hello every1,
    I am using oracle application E-bS version 11.5.10.2 and i want ORACLE reports output in PDF format instead of standard 'text' default format(the place where v register concurrent programs). so can any one tell me what changes should i do to achieve my goal i had change format as pdf in concurrent program and run report but it shows error as follows:
    REP-3000: Internal error starting Oracle Toolkit.
    REP-3000: Internal error starting Oracle Toolkit.
    Plz. share your knowledge regarding.
    Radhi
    Edited by: user713 on Jun 20, 2011 9:32 AM

    Hi,
    check this support note.
    Reference
    Master Note : Comprehensive REP-3000 Troubleshooting and Overview Guide (Doc ID 200474.1)
    Regards, roberto

  • Unable export crystal report XI to pdf on window server 2003 SP1

    I have a class asp function to export crystal report XI to pdf file, it is workable at winXP but when i copy it to window server 2003, it exported the file with zero length (file size is 0kb).
    when i try to open the zero length pdf file, it shows the file is already open or in use by another application.
    when i run my export function, i can see there is a new file created at the folder "C:\windows\Temp", when i try to open the tmp file, i get the message "The process cannot access the file because it is being used by another process", i can open the tmp file after i end the process "w3wp.exe network service", the data in the tmp file is exactly what i need to export to the pdf file.
    At the window server 2003, I have installed the Crystal Report XI developer edition,
    For the web application folder and the pdf export folder, Read, Write and Modify permission has been set for the following accounts:
    1. myServer\Administrators
    2. myServer\ASPNET
    3. myserver\IUSR_myserver
    4. myServer\IWAN_myserver
    5. Network Service
    6. System
    7. myServer\Users
    I think it is the permission problem, but how to set the right permission at the window server 2003 SP1? please advise. thanks

    Hello,
    It is a permission issue. When you export Crystal first tries to write the file to the local TEMP folder and then delete it to see if it has read/write permissions. If it fails to delete the file you need to give the TEMP folder on the WEB server permissions for your application. Check Microsofts WEB site on how to set permissions on shared folders for your ASP application.
    You may want to search in forums also, this looks familar.
    Thank you
    Don

  • Conversion of oracle 10g character (.txt) reports to bitmap (.pdf)

    Hi,
    I have two queries:
    1) I want to convert oracle 10g bitmap (.rtf) reports to bitmap (.pdf) reports. I can do it by converting desformat. But the problem is .rtf reports have PAGESIZE 13 inches x 11 inches. After conversion to .pdf I need to have A4 size (11.7 x 8.3) . This also I can do it manually by changing width and height. But the issue is I'm getting error that : some object is out of body. So I have to change the marging of each and every report manually by trail & error method. Which is consuming lot of time.
    So any one please provide me solution so that I can generate .pdf report in A4 format with out any issues. (By changing any class files, etc..)
    2) I want to convert character(.txt) reports to bitmap (.pdf) reports. Again its having same problem as mentioned in (1). So any shortcut or any method for doing it.
    Please let me know whatever you know abt this issue.
    Thanks in Advance

    Don't think there are any shortcuts you can convert 13x11 to 11.7x8.3 without modification of the layout. changes or moves of the frames/fields are expected if they are beyond 11.7x8.3.

  • Saving ALV Report tree to pdf

    Is it possible to save ALV Report Tree to pdf for all versions (old & new) of SAP? If yes, then what is the way to save the ALV tree to pdf in different versions, which also includes BW & APO systems? The ALV tree also includes some hotspots, if that also matters in some way !!

    Hi
    call this function module
    CONCATENATE l_fullpath '.rtf' INTO l_fullpath.
    CALL FUNCTION 'GUI_DOWNLOAD'
    __EXPORTING
    ____filename = l_fullpath
    ____filetype = 'ASC'
    ____write_field_separator = 'X'
    __TABLES
    ____data_tab = lt_tree.
    Where lt_tree content looks like this :
    COL1__________COL2
    Parent1________(initial)
    (initial)_________child1_1
    (initial)_________child1_2
    Parent2________(initial)
    (initial)_________child2_1
    etc...

  • Check report guidelines

    Hello All,
    We are working on BI Publisher version of the check report. Payment process program is kicking Format Ever Green program. After registering the data definition, template, I still see the output as XML. So I have modified the after report trigger to call 'xml report publisher' program.
    Am I following the correct process or can we directly generate the PDF output, with out calling 'xml report publisher' program? Please confirm.
    I know it is a some basic question, but struggling for the correct approach,

    Hello All,
    I just searched and found that we need to apply "4303528 11.5.10.2: XML Payment format does not use default template" patch.
    But the same program 'format evergreen' is used by UK, US, CA countries. And UK paper size is different from US one. So we need to create different template for the three countries. How can we dynamically select the templates( and generates the PDF output in one step) or do we need to handle this in After report trigger only? Please advice...

  • Linux - Turkish font  - RTF working, PDF replaced with ?

    Hi All,
    Im back to trying to get my application working on Linux again, and have arrived at the next bump in the road.
    Versions:
    CR4E v2.0.4.r825
    Java 1.6.0_13
    Oracle Enterprise Linux 5
    Background. Originally develeoped and tested on Windows, and got everything working 100%.
    We then moved the App to a Linux enviroment.
    First problem I came across was directory referencing, and case sensitivity, which I managed to solve.
    We then had issues where all fonts in the PDF outputs were shown as LucidaSans. This was solved by following the
    documentation found on [http://corefonts.sourceforge.net/]
    This allowed us to correctly output the TimesNewRoman font.
    Everything was going well until we needed to display Turkish font. On our Windows test enviroment everything is working
    perfectly, on the Linux, not so much.
    The way the Turkish font is used on the report is I developed a UFL which receives numbers and then looks up certain codes
    in a properties file, which contains the unicode representation of the Turkish characters. These are then interpreted by
    Java and a String is formatted and returned to the Report.
    If I look in my logs I get the following:
    com.crystaldecisions.reports.formulas.k.a(SourceFile:4554) - Function 'numbers2words' returned: s(beu015Fyu00FCz doksan TL  )
    So we can see that the correct characters are returned. ( ş )
    What I found out that if I tried exporting the Report as a PDF the text returned gets converted to  -  be?yu00FCz doksan TL
    The Document Properties of the PDF produce on Linux lists the fonts as
    DejaVuLGSans
      Type: TrueType
      Encoding: Ansi
      Actual Font: Adobe Sans MM
      Actual Font Type: Type 1
    TimesNewRoman
      Type: TrueType
      Encoding: Ansi
      Actual Font: TimesNewRomanPSMT
      Actual Font Type: TrueType
    Yet Windows version is as follows
    TimesNewRoman(Embedded Subset)
      Type: TrueType
      Encoding: Built-in
    TimesNewRomanBold(Embedded Subset)
      Type: TrueType
      Encoding: Built-in
    BUT if I export to a RTF document, all font looks perfect, on both Windows and Linux.
    RTF code looks something like this if this helps anyone
    {\posx260\posy9866\absw5518\absh-1919 \sl240\slmult1\par\fs17\f1 be\uc1\u351\'3Fy\u252\'3Fz doksan TL  \par\par\par}
    Any ideas on what I need to do or what I have not done, I will take any sugesstions. Also will give additional info if required.
    Thanks Darren

    Thanks Ted,
    That did the trick.
    Although I must say that I find it strange that originally we had no TimesNewRoman fonts on the Linux box,
    so we setup the msttcorefonts package as per [http://corefonts.sourceforge.net/msttcorefonts-2.0-1.spec]
    This then allowed us to print TimesNewRoman font on our PDF, but we still had no Turkish characters.
    So by placing these TTF files into the Java /lib/fonts directory and amending the fonts.dir file we all of a sudden had the Turkish characters.
    It almost seems that applying the fonts the first time only half solved our problems, and then once we made them avaliable in
    the Java lib/fonts area it solved the UFL issue.
    Anyways, its working now so we all happy.
    Cheers
    Darren

  • Printing reports issue (Word/PDF/Excel...)

    Hello Apex masters,
    Here's the deal:
    I have a page in which I have
    1. report - "sql query" type: "select * from dual", Print Attributes: Enable Report Printing=Yes, Output format=PDF (default options)
    2. button item: "Apply filter", Button Request=Filter
    3. Branch: target type=page in this app, page=same page, when button pressed=APPLY_FILTER
    Behavior:
    1. If I login, open this page, use the "Print" url from the report, a PDF file is successfully generated.
    2. If I login, open the page, click on the "Apply filter" button and then use the "Print" url from the report, an empty PDF file is generated. (same thing happens for Word,excel etc...)
    I also have some other items on the page, but I guess that it shouldn't make a difference.
    My workspace is on apex.oraclecorp.com.
    Thanks a lot,
    Andrei

    Andrei,
    Given that you' re running this on an Oracle internal site, could you email me login information for your workspace or re-create this sample on a workspace I can access?
    Thanks,
    Marc

  • Open a PDF report from a PDF report

    I would like to open a PDF report from a PDF report, but in a new IE window.
    I have the following code attached to an item in the report:-
    function F_RECONFormatTrigger return boolean is
    begin
    IF trim(:btch_ref) = 'PL' and trim(:recon) is not null and trim(:recon) <> ' ' then
    srw.set_font_weight(srw.bold_weight);
    srw.set_font_style(srw.underline_style);
    srw.set_text_color('blue');
    srw.set_hyperlink_attrs('onMouseover "window.status="Click here to see what is in your shopping basket"; return true"'||'onMouseout ="window.status=" "; return true"');
    srw.set_hyperlink('/reports/rwservlet?cmdkey=famis+desformat=pdf+report=FAMREP011+p_orderno='||trim(:recon));
    srw.set_hyperlink_attrs('target=_blank');
    -- srw.set_hyperlink_attrs('target="_blank"');
    END IF;
    return (TRUE);
    end;
    All of the commands work except for the 2 srw.set_hyperlink_attrs commands. The "onMouseover" and the "target" seem to have no effect. Can anyone help?
    Thanks in advance
    Michael

    The built in srw.set_hyperlink_attrs does not work , if the report format is PDF. There is no way to open another PDF report from a PDF report in a seperate window. Also think there is no way to hide URL which apperars when the mouse pointer moves over the hyperlink.
    In other report formats like HTML, the built in srw.set_hyperlink_attrs works.
    Kranthi

Maybe you are looking for

  • "An unexpected error has occurred" - setting up Time Capsule - now happening on 2nd TC

    Hi! I'm sorry if this has been asked a thousand times - I'm brand new to owning an iMac and a TC. I tried to set my first TC up last week, got through to where it said, "Waiting for AirPort Time Capsule" and every time I would get "An Unexpected Erro

  • Dvd editing

    what is a good third party app for editing

  • Allocation of Sales and Expenditure Accounts to Profit Center.

    Hi, I had earlier posted a question on how to allocate a BP to a Profit center: Hi, Is it possible to allocate a BP to one or more Profit centers when creating a BP Master in SAP;such that, on creation of a marketing document the Profit center is dir

  • ATP Logic for Sales Order Requirements not Confirmed

    Hi Colleagues I am running ATP with checking rules to include 'inbound shipping notifications' We want the ATP check to calculate sales orders that are both as requirements only (Not yet confirmed) and those that are already confirmed. We would like

  • File Browser - Grrrrrr!

    One of the most annoying things about Photoshop and my machine is that is resets stuff without my knowledge. Today when I opened Photoshop (v 7.0) none of my typical windows (toold, layers, history, etc) were open, so I reset everything, but now the