Converting Barcode font EAN-13 from Smartform to PDF

Hi Guys,
              We are printing barcode font EAN-13 in smartform and convert it to PDF through FM.
But when the barcode is printed in PDF, its not recognised by the barcode reader. Its not look the same when it printed in Smartform.
Anyone come across this issue..?
Thanks
Sam

hi sam,
can u check the the smartform when u run in system if it is pdf fine (pdf!).it so then i think the problem lies in printer configuration in spad..
hope it helps

Similar Messages

  • Unable to Preview barcode font fields in Word Template Builder PDF Preview

    I have searched for solutions to this problem but did not find anything that I have not tried. I have IDAutomation Barcode fonts installed and am using the Word template builder v10.1.3.4 Build 129. My Templates work fine in EBS, but I cannot Preview in a PDF, any fields that are formatted with my barcode or MICR fonts. I have created an xdo.cfg file as per the documentation and placed it in C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config. I can successfully preview in an RTF, but not a PDF. Any suggestions?
    Here is my xdo.cfg file:
    <config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
         <!-- Properties -->
         <properties>
              <!-- System level peoprties -->
              <!-- PLEASE SELECT A VALID TEMPFILE DIRECTORY!!! -->
              <property name="system-temp-dir">E:\Temp</property>
              <!-- PDF compression -->
              <property name="pdf-compression">true</property>
              <!-- PDF security -->
              <property name="pdf-security">false</property>
              <property name="pdf-open-password">user</property>
              <property name="pdf-permissions-password">owner</property>
              <property name="pdf-no-printing">true</property>
              <property name="pdf-no-changing-the-document">true</property>
         </properties>
    <!-- Font setting -->
         <fonts>
              <!-- Windows Wingdings font -->
              <font family="Wingdings" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\WINGDING.ttf" />
              </font>
              <!-- GnuMICR font -->
              <font family="GnuMICR" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\GnuMICR.ttf" />
              </font>
              <!-- IDAutomationC39L -->
              <font family="IDAutomationC39L" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationC39L.ttf" />
              </font>
              <!-- IDAutomationC39M -->
              <font family="IDAutomationC39M" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationC39M.ttf" />
              </font>
              <!-- IDAutomationC39S -->
              <font family="IDAutomationC39S" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationC39S.ttf" />
              </font>
              <!-- IDAutomationC39XL -->
              <font family="IDAutomationC39XL" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationC39XL.ttf" />
              </font>
              <!-- IDAutomationC39XS -->
              <font family="IDAutomationC39XS" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationC39XS.ttf" />
              </font>
              <!-- IDAutomationC39XXL -->
              <font family="IDAutomationC39XXL" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationC39XXL.ttf" />
              </font>
              <!-- IDAutomationHC39L -->
              <font family="IDAutomationHC39L" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationHC39L.ttf" />
              </font>
              <!-- IDAutomationHC39M -->
              <font family="IDAutomationHC39M" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationHC39M.ttf" />
              </font>
              <!-- IDAutomationHC39S -->
              <font family="IDAutomationHC39S" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationHC39S.ttf" />
              </font>
              <!-- IDAutomationHC39XL -->
              <font family="IDAutomationHC39XL" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationHC39XL.ttf" />
              </font>
              <!-- IDAutomationHC39XS -->
              <font family="IDAutomationHC39XS" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationHC39XS.ttf" />
              </font>
              <!-- IDAutomationHC39XXL -->
              <font family="IDAutomationHC39XXl" style="normal" weight="normal>
              <truetype path="C:\WINDOWS\Fonts\IDAutomationHC39XXL.ttf" />
              </font>
         </fonts>
    </config>
    Thank for any assistance.
    Regards,
    Donn

    The fonts settings did not show up properly. Here is an example inside comments:
              <!-- IDAutomationHC39S -->
    <!--     <font family="IDAutomationHC39S" style="normal" weight="normal> -->
    <!--     <truetype path="C:\WINDOWS\Fonts\IDAutomationHC39S.ttf" /> -->
    <!--     </font> -->
    The font family, name, and path have been checked thoroughly.
    Thanks,
    Donn

  • Mac OS 10.6.7 corrupt font on export from Word to PDF

    Hi,
    I have a library of Word documents that use our corporate font: Officina Sans ITC Pro Book. I have previously saved these as PDF using Word for Mac and opening in Acrobat Pro 9 without any difficulty.
    Today however, while Word will export and create the PDF. When the PDF is opened in Acrobat it comes up blank and crashes Acrobat. I have tried exporting from Word to PostScript, but this fails: "Stack:/Font-dict-/ZCYKUX+OfficinaSansITCPro-Book".
    The font is avialable on the Mac. I have validated the font and using Font Finagler I have cleared the cache. All without success.
    One pointer is the additional six digits in the PS log, which is in front of the font name.
    Anyone got any ideas on how to clear the problem and start export cleanly from Word to PDF again?
    Thanks,
    Niall

    Thanks Steve,
    The link described our situation. You are correct: yes our font is OpenType PostScript and, yes I had updated to OS 10.6.7.
    I have been busy reading. For other readers there is a long thread here: http://discussions.apple.com/thread.jspa?threadID=2792142&start=0&tstart=0, where I see that you have also participated.
    I have posted constructive critisim to Apple on the OS update. However I don't think there will be a quick fix.
    I will probably downgrade back to 10.6.6, but need to steel myself for the task.
    Thanks also to Larry and Michael!
    Niall

  • Migration from Smartforms to PDF

    We have to migrate some of our smartforms to PDF, which contain a lot of graphics/icons.
    As i know from the documentation it seems to be necessary to migrate all the BDS graphics (Transaction se78) to the mime repository with the report RSXFT_MIGRATE_BDS_GRAPHICS.
    Moreover it seems i am only able to use graphic nodes with the option graphic content instead of graphic reference, if i am using images from the mime repositiory (also read in the documentation of SAP). So i need the graphic as a xstring variable.
    But i wasn't able to find any documentation which shows me the right function/ the right method in ABAP to get access to the graphic in the mime repositiory.
    I found some threads, which mentioned the method get_bds_graphic_as_bmp (Class CL_SSF_XSF_UTILITIES), but in my opinion then i don't need to migrate the graphics with the Report RSXFT_MIGRATE_BDS_GRAPHICS or am i wrong?
    What about run-time and memory allocation?
    Thanks in advance for your help.

    Hi Francois
    I do not know transaction EFRM, but I know that to create a print form with SAP Interactive Forms (perhapos you are using a different forms tool?) you need to work in transaction SFP, where you manually migrate the form.
    A couple of comments on migrating from Smart Forms to Interactive Forms.
    How to do it is documented in the <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/16/a369b1800e4bdda978ee0fe3b7bd2c/frameset.htm">SAP Help Portal</a>.
    There is a migration wizard that assists you in migrating. It comes with recommended settings for those elements of a Smart Forms that migrate well (ABAP program nodes, for example, are not supported in the Adobe-based solution). See the <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/3b/bb186ddb4441a7875a11d46ea6580d/content.htm">Notes</a>.
    SAP-internal experience over the last three years has shown that in most cases migrating a Smart Form and then reworking the migrated form (which is usually necessary) takes more time and effort than analyzing the form carefully and then creating it from scratch in SFP. This is particularly the case when several business forms are in one Smart Form and output based on conditions. It is recommended to have one form template per business form.
    Best regards,
    Markus Meisl
    SAP NetWeaver Product Management

  • Chinese characters can not be converted from Smartform to PDF

    Hi gurus,
    There are some smartform programs containing chinese and english in my R/3 system. Preview and printing are both OK.
    But when I convert them into PDF using program RSTXPDFT2, all chinese display as ### or /// and so on in PDF files. But english characters are OK.
    Here's some information:
    1. I have checked settings in SCOT and use CNPDF for Chinese language as SAP recommend.
    2. The font in smartform is CNSONG.
    3. My R/3 is a unicode system.
    4. My acrobat reader can read other chinese PDF files. Thus it's not my PC's problem.
    Do you have any suggestions?
    Thanks very much in advance!
    Regards,
    Frank

    I got the similar problem but with Japanese characters(runs windows japanese edition), I solved it with the help of our user but couldn't remember the exact solution(around 2 year back I did this), but I'm sure that she maintained some parameter ID in User profile and it solved our problem.
    I am just passing this info as it may be useful to solve your problem.
    Regards,
    Sairam

  • Barcode font not printing from DOT Net App

    Found a better forum and moved here:
    http://forums.sdn.sap.com/edit!default.jspa?messageID=8903551
    Edited by: Shayne Judkins on Mar 24, 2010 4:30 PM

    I am assuming this is a web app(?). Based on that assumption, I suspect the web app worker process does not have permissions to that font(?).
    Easy way to test this is to create a win app, see if that works.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Font Conversion issues from Word to PDF

    I'm using Acrobat Pro 9 and Word 2007. My Word document has Heading styles with numbers, and a table of contents is built upon the styles. Every font is Arial. When I convert the Word document to PDF, the numbering all turns to Times New Roman, but the text remains Arial.  Help. How can I fix this?
    Linda

    You were right, it was a Word numbering style issue. I have finally figured it out and it appears to be working correctly now.
    Thanks,
    Linda

  • Embed Barcode Fonts for Watermark

    I hope someone could help me with this:
    I need to add a barcode to a scanned image pdf file. This file will be viewed by a number of users on their workstations. Therefore the barcode font has to be embedded to the newly created pdf file.
    I used the following VB.Net code to add the watermark:
    Dim jsObj As Object
    Dim SamplePDFFilePath As String = "c:\inputFile.pdf"
    Dim OutputFilePath As String = "c:\outputFile.pdf"
    ' Create a PDDoc IAC object.
    Dim pdDoc As Acrobat.CAcroPDDoc
    pdDoc = CreateObject("AcroExch.PDDoc")
    ' Open the source PDF document
    Dim rc As Integer
    rc = pdDoc.Open(SamplePDFFilePath)
    ' Acquire the Acrobat JavaScript Object interface from the PDDoc object
    jsObj = pdDoc.GetJSObject
    ' make a color object
    Dim oColor As Object
    oColor = jsObj.color.black()
    ' Add a text watermark.
    ' function prototype:
    '   addWatermarkFromText(cText, nTextAlign, cFont, nFontSize, oColor, nStart, nEnd, bOnTop, bOnScreen, bOnPrint, nHorizAlign, nVertAlign, nHorizValue, nVertValue, bPercentage, nScale, bFixedPrint, nRotation, nOpacity)
    jsObj.addWatermarkFromText("12345678", 1, "BarcodeFontName", 26, oColor, 0, 0, True, True, True, 0, 3, 100, -7, False, 1.0, False, 0, 1)
    ' save the PDF with watermarks to a new document.
    rc = pdDoc.Save(1, OutputFilePath)  ' full save
    This works. However the font is not embedded.
    I am using Acrobat X.
    My questions:
    1. How to embed the barcode font to the newly created pdf file using VB code?
    2. I have tried to add an additional watermark from a pdf file using this function: addWatermarkFromFile(cDIPath, nSourcePage, nStart, nEnd, bOnTop, bOnScreen, bOnPrint, nHorizAlign, nVertAlign, nHorizValue, nVertValue, bPercentage, nScale, bFixedPrint, nRotation, nOpacity). The file is a pdf containing a small graphic image. I notice after I added this image pdf as watermark, the barcode font is embedded in the new pdf file. Is this an Acrobat design? But the strange thing is that I removed the addWatermarkFromFile() function from my code and recompiled it. The graphic is not included in the new pdf file, but the font is still embedded. I wonder why Acrobat still embeds the barcode font. Is this a normal behaviour of Acrobat?
    3. I have read a posting that addWatermarkAsText() function will always embed the font. But I am not able to find this function in the SDK 10. Is this function obsolete?
    Any help is appreciated.

    Thanks, Irosenth.
    The barcode font I used is Installable. But it is not embedded.
    In fact I tried adding two lines of watermarks, one using the barcode font and the other using Windows Courier font. I checked the created pdf file, both of them were not embedded.
    Like I said, after I added a file using addWatermarkFromFile(), the fonts were embedded.
    Also, I printed the document through the Adobe PDF printer driver, the fonts were embedded.
    It looks to me that these fonts are embeddable. But they just are not embedded with the addWatermarkFromText() function.
    Any further suggestions?

  • Unable to print directly from vf03 txn after converting  smartform into PDF

    Dear All,
    I have converted ond smartform into pdf.now when i am trying to print one document using vf03 transaction whatever button i click(ex-print preview/print) it is asking to save the pdf as local file. but i want to print that document as pdf directly from vf03 without saving it into local file.
    I am giving you the code below:-
    (all modification done by me are in BOLD)
         Print of a invoice by SAPscript SMART FORMS               *
    REPORT zrlb_invoice5.
    declaration of data
    INCLUDE zrlb_invoice_data_declare5.
    *INCLUDE ZRLB_INVOICE_DATA_DECLARE.
    *INCLUDE rlb_invoice_data_declare.
    definition of forms
    INCLUDE zrlb_invoice_form015.
    *INCLUDE ZRLB_INVOICE_FORM01.
    *INCLUDE rlb_invoice_form01.
    INCLUDE zrlb_print_forms5.
    *INCLUDE ZRLB_PRINT_FORMS.
    *INCLUDE rlb_print_forms.
    START-OF-SELECTION.
          FORM ENTRY
    FORM entry USING return_code us_screen.
      DATA: lf_retcode TYPE sy-subrc.
      CLEAR retcode.
      xscreen = us_screen.
      PERFORM processing USING us_screen
                         CHANGING lf_retcode.
      IF lf_retcode NE 0.
        return_code = 1.
      ELSE.
        return_code = 0.
      ENDIF.
    ENDFORM.                    "ENTRY
          FORM PROCESSING                                               *
    FORM processing USING proc_screen
                    CHANGING cf_retcode.
      DATA: lv_medium LIKE tnapr-nacha.
      DATA: lwa_print_data_to_read TYPE lbbil_print_data_to_read.
      DATA: lwa_bil_invoice TYPE lbbil_invoice.
      DATA: lf_fm_name            TYPE rs38l_fnam.
      DATA: lwa_control_param      TYPE ssfctrlop.
      DATA: lwa_composer_param     TYPE ssfcompop.
      DATA: lwa_recipient          TYPE swotobjid.
      DATA: lwa_sender             TYPE swotobjid.
      DATA: lf_formname           TYPE tdsfname.
      DATA: lwa_addr_key           LIKE addr_key.
      DATA: ls_dlv-land           LIKE vbrk-land1.
      DATA:lv_job_output_info      TYPE ssfcrescl,
             lv_document_output_info TYPE ssfcrespd,
             lv_job_output_options   TYPE ssfcresop,
             lv_bin_filesize          TYPE i,
             gt_docs  TYPE STANDARD TABLE OF docs,
             gt_lines TYPE STANDARD TABLE OF tline,
             gt_otf TYPE TABLE OF itcoo, " OTF Structure
             lv_name                  TYPE string VALUE 'INVOICE',
             lv_guiobj                TYPE REF TO cl_gui_frontend_services,
             lv_path                  TYPE string  VALUE 'D:\',
             lv_fullpath              TYPE string VALUE 'D:\INVOICE',
             lv_filter                TYPE string,
             lv_uact                  TYPE i,
             lv_filename              TYPE string,
    ++lv_fm_name               TYPE rs38l_fnam.         +*****************************************
    SmartForm from customizing table TNAPR
      lf_formname = tnapr-sform.
      lv_medium = tnapr-nacha.
    determine print data
      PERFORM set_print_data_to_read USING    lf_formname
                                     CHANGING lwa_print_data_to_read
                                     cf_retcode.
      IF cf_retcode EQ 0.
    select print data
        PERFORM get_data USING    lwa_print_data_to_read
                         CHANGING lwa_addr_key
                                  ls_dlv-land
                                  lwa_bil_invoice
                                  cf_retcode.
      ENDIF.
      IF cf_retcode EQ 0.
        PERFORM set_print_param USING    lwa_addr_key
                                         ls_dlv-land
                                CHANGING lwa_control_param
                                         lwa_composer_param
                                         lwa_recipient
                                         lwa_sender
                                         cf_retcode.
      ENDIF.
      IF cf_retcode EQ 0.
    determine smartform function module for invoice
        CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
             EXPORTING  formname           = lf_formname
                    variant            = ' '
                    direct_call        = ' '
             IMPORTING  fm_name            = lf_fm_name
             EXCEPTIONS no_form            = 1
                        no_function_module = 2
                        OTHERS             = 3.
        IF sy-subrc NE 0.
      error handling
          cf_retcode = sy-subrc.
          PERFORM protocol_update.
        ENDIF.
      ENDIF.
      IF cf_retcode EQ 0.
        PERFORM check_repeat.
        IF lwa_composer_param-tdcopies EQ 0.
          nast_anzal = 1.
        ELSE.
          nast_anzal = lwa_composer_param-tdcopies.
        ENDIF.
        lwa_composer_param-tdcopies = 1.
        DO nast_anzal TIMES.
    In case of repetition only one time archiving
          IF sy-index GT 1 AND nast-tdarmod EQ 3.
            nast_tdarmod = nast-tdarmod.
            nast-tdarmod = 1.
            lwa_composer_param-tdarmod = 1.
          ENDIF.
          IF sy-index NE 1 AND repeat IS INITIAL.
            repeat = 'X'.
          ENDIF.
    call smartform invoice
         CALL FUNCTION lf_fm_name
              EXPORTING
                         archive_index        = toa_dara
                         archive_parameters   = arc_params
                         control_parameters   = ls_control_param
                    mail_appl_obj        =
                         mail_recipient       = ls_recipient
                         mail_sender          = ls_sender
                         output_options       = ls_composer_param
                         user_settings        = space
                         is_bil_invoice       = ls_bil_invoice
                         is_nast              = nast
                         is_repeat            = repeat
         importing  document_output_info =
                    job_output_info      =
                    job_output_options   =
              EXCEPTIONS formatting_error     = 1
                         internal_error       = 2
                         send_error           = 3
                         user_canceled        = 4
                         OTHERS               = 5.
          lwa_control_param-getotf = 'X'.
          lwa_control_param-no_dialog = 'X'.
          lwa_control_param-device = 'PRINTER'.
          CALL FUNCTION lf_fm_name
            EXPORTING
             archive_index              = toa_dara
    Begin of Changes 24/10/2007*
      ARCHIVE_INDEX_TAB          =*
            ARCHIVE_PARAMETERS         = arc_params*
             control_parameters         = lwa_control_param
      MAIL_APPL_OBJ              =*
            MAIL_RECIPIENT             = lwa_recipient*
            MAIL_SENDER                = lwa_sender*
    *End of changes 04/12/2007
             output_options             = lwa_composer_param
             user_settings              = 'X'
              is_bil_invoice             = lwa_bil_invoice
              is_nast                    = nast
              is_repeat                  = repeat
              iv_medium                  = lv_medium
    Begin OF Changes 04/12/2007*
    IMPORTING
       document_output_info       = lv_document_output_info
       job_output_info            = lv_job_output_info
       *job_output_options         = lv_job_output_options     *
    End Of Changes 04/12/2007*
    EXCEPTIONS
       formatting_error           = 1
       internal_error             = 2
       send_error                 = 3
       user_canceled              = 4
       OTHERS                     = 5.
         CALL FUNCTION lf_fm_name
           EXPORTING
            ARCHIVE_INDEX              = toa_dara
      ARCHIVE_INDEX_TAB          =
            ARCHIVE_PARAMETERS         = arc_params
            CONTROL_PARAMETERS         = lWA_control_param
      MAIL_APPL_OBJ              =
            MAIL_RECIPIENT             = lwa_recipient
            MAIL_SENDER                = lwa_sender
            OUTPUT_OPTIONS             = lwa_composer_param
            USER_SETTINGS              = space
             IS_BIL_INVOICE             = LWA_BIL_INVOICE
             IS_NAST                    = nast
             IS_REPEAT                  = repeat
             IV_MEDIUM                  = lv_medium
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
          gt_otf[] = lv_job_output_info-otfdata[].
                  CALL FUNCTION 'CONVERT_OTF'
             EXPORTING
               FORMAT                      = 'PDF'
               MAX_LINEWIDTH               = 132
            ARCHIVE_INDEX               = ' '*
            COPYNUMBER                  = 0*
            ASCII_BIDI_VIS2LOG          = ' '*
             IMPORTING
               BIN_FILESIZE                = lv_bin_filesize
            BIN_FILE                    =*
              TABLES
                otf                         = gt_otf
                lines                       = gt_lines
          EXCEPTIONS*
            ERR_MAX_LINEWIDTH           = 1*
            ERR_FORMAT                  = 2*
            ERR_CONV_NOT_POSSIBLE       = 3*
            ERR_BAD_OTF                 = 4*
            OTHERS                      = 5*
            IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO*
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.*
            ENDIF.
    *.......................GET THE FILE NAME TO STORE.........
            CONCATENATE 'smrt' '.pdf' INTO lv_name.
          CREATE OBJECT lv_guiobj.
          CALL METHOD lv_guiobj->file_save_dialog
            EXPORTING
              default_extension = 'pdf'
              default_file_name = lv_name
              file_filter       = lv_filter
            CHANGING
              filename          = lv_name
              path              = lv_path
              fullpath          = lv_fullpath.
       user_action       = lv_uact.*
          IF lv_uact = lv_guiobj->action_cancel.
            EXIT.
          ENDIF.*
         MOVE lv_fullpath TO lv_filename.
           CALL METHOD cl_gui_frontend_services=>gui_download
             EXPORTING
              BIN_FILESIZE              =  lv_bin_filesize
               filename                  =  lv_fullpath
               FILETYPE                  = 'BIN'
       APPEND                    = SPACE
       WRITE_FIELD_SEPARATOR     = SPACE
       HEADER                    = '00'
       TRUNC_TRAILING_BLANKS     = SPACE
       WRITE_LF                  = 'X'
       COL_SELECT                = SPACE
       COL_SELECT_MASK           = SPACE
       DAT_MODE                  = SPACE
       CONFIRM_OVERWRITE         = SPACE
       NO_AUTH_CHECK             = SPACE
       CODEPAGE                  = SPACE
       IGNORE_CERR               = ABAP_TRUE
       REPLACEMENT               = '#'
       WRITE_BOM                 = SPACE
       TRUNC_TRAILING_BLANKS_EOL = 'X'
    IMPORTING
       FILELENGTH                =
             changing
               data_tab                  =   gt_lines.
    EXCEPTIONS
       FILE_WRITE_ERROR          = 1
       NO_BATCH                  = 2
       GUI_REFUSE_FILETRANSFER   = 3
       INVALID_TYPE              = 4
       NO_AUTHORITY              = 5
       UNKNOWN_ERROR             = 6
       HEADER_NOT_ALLOWED        = 7
       SEPARATOR_NOT_ALLOWED     = 8
       FILESIZE_NOT_ALLOWED      = 9
       HEADER_TOO_LONG           = 10
       DP_ERROR_CREATE           = 11
       DP_ERROR_SEND             = 12
       DP_ERROR_WRITE            = 13
       UNKNOWN_DP_ERROR          = 14
       ACCESS_DENIED             = 15
       DP_OUT_OF_MEMORY          = 16
       DISK_FULL                 = 17
       DP_TIMEOUT                = 18
       FILE_NOT_FOUND            = 19
       DATAPROVIDER_EXCEPTION    = 20
       CONTROL_FLUSH_ERROR       = 21
       NOT_SUPPORTED_BY_GUI      = 22
       ERROR_NO_GUI              = 23
       others                    = 24
            IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO*
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.*
            ENDIF.
          Else.
           IF sy-subrc NE 0.*
      error handling
              cf_retcode = sy-subrc.
              PERFORM protocol_update.
    get SmartForm protocoll and store it in the NAST protocoll
              PERFORM add_smfrm_prot.
            ENDIF.
          ENDDO.
          lwa_composer_param-tdcopies = nast_anzal.
          IF NOT nast_tdarmod IS INITIAL.
            nast-tdarmod = nast_tdarmod.
            CLEAR nast_tdarmod.
          ENDIF.
        ENDIF.
    get SmartForm protocoll and store it in the NAST protocoll
    PERFORM ADD_SMFRM_PROT.
      ENDFORM.                    "PROCESSING
    kindly give me a sloution.

    Hi,
    Check for the print mode in the print options and set it as 3- print and archive .
    Regards,
    Ram

  • Convert smartform as PDF from ABAP Webdynpro

    Hi,
    I want to convert smartform as pdf from ABAP webdynpro.
    Flow: SmartForm-->Generating Function Module -->Getting Output Data --> Converting OTF to PDF --> Open/Save PDF file in ABAP webdynpro.
    What are the sequence of function modules to be used for this?
    OR
    Is there any other way to convert smartform as pdf from ABAP webdynpro?
    plz give me the flow and FM'details clearly in detail.

    Look here https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785
    Cheers
    Graham Robbo

  • Convert smartform to pdf from ABAP webdynpro

    Hi,
    I want to convert smartform to pdf from ABAP webdynpro and
    I want to display pdf in ABAP wedynpro view or portal iview.
    what are the steps needs to be followed?
    what are the classes and interfaces needs to be used?

    Hi,
    Please check this it might be useful.
    Data: tab_otf_data    type  ssfcrescl,
             wa_out_opt      type  ssfcompop,
             wa_con_params   type  ssfctrlop.
              wa_rspoid       type  rspoid,
    parameter:p_file like rlgrap-filename no-display.
    Follow control parameters
           wa_out_opt-tdimmed = 'X'.
             wa_out_opt-tdnewid = 'X'
            wa_con_params-no_dialog = 'X '.
    if you want print direct  pass
            wa_out_opt-tddest  = 'printer' (SAP Printer)
    If you are using multiple header records  use loop other wise no need
       note that when multple headers
      pass count and count > 1 means more than one header change control parameters to create single spool for all.
    Loop itabXXXX.                                      " multiple header starts
      count = count + 1.
          if count > 1.
            wa_con_params-no_open = ' '.
            wa_out_opt-tdnewid = ' '.
          endif.                                               " multiple header ends
    call function  fm_name
            exporting
              control_parameters = wa_con_params
              output_options     = wa_out_opt
              header_header      = wa_ven
            importing
              job_output_info    = tab_otf_data
            tables
              header_details     = itab_final
            exceptions
              formatting_error   = 1
              internal_error     = 2
              send_error         = 3
              user_canceled      = 4
              others             = 5.
             at last.                                                         " multiple header starts
            wa_con_params-no_close = ' '.
            wa_con_params-no_dialog = 'X'.
          endat.                                                           " multiple header ends
    endloop.
    you will get  the otf data and spool id from  'tab_otf_data'
    read table tab_otf_data-spoolids index 1 into wa_rspoid.  " Now you get spool no in wa_rspoid.
    " pass spool in to rstxpdft4 it converts to pdf".
    submit rstxpdft4
               with spoolno = wa_rspoid
               with p_file = p_file
               and return.
    I feel that your problem will solve....
    Thanks,
    Hari

  • Crystal Reports 2008 Barcode font not exported to any format

    Hi,
    I am creating a report that will use IDAutomationC128XXL barcode font (GS1 standard). I have downloaded and installed this font in my machine. I use the Visual Basic UFLs (IDAutomationFontEncoderUCC128()) to convert my content to barcode. I also have changed the field's font to IDAutomationC128XXL (by right click and field formatting). After this, i am able to see the barcode created in the my report preview. However when i try to export my report to PDF or any other format, the barcode is not coming up. It comes empty when i export to PDF.
    Am i missing any step to print barcodes in PDF during export from crystal report?

    Hi Sankara,
    Licensed fonts are Not exported to PDF.
    You should get in touch with IDAutomation's support and ask what are the alternatives.
    -Abhilash

  • Is possible work with boleto from SmartForm using the Tcode FBZP  ?

    HI,
    SAPScript bar code output in PDF format
    As a SAP does not intend to deliver this solution for SAPscript  because The report - RSTXPDFT4 does not work correct to bar code in the boletos (Brazil) when convert to PDF, we are going to change to Smart Form.
    The problem now.....Does someone know if is possible use this boleto from SmartForm using the Tcode FBZP ?
    Here in the customer there were a lot of problems about bar code (Critical) and in the past the Basis consultant had problems to import all Basis Support Packages and kernel patches in Release 4.6C.
    if someone can help me, I really apreciate.
    Since now....Thank you !!!!!!
    Best regards,

    Hello!
    SAP doesn´t have a SMARTFORM for boleto. We're sorry, but  you can´t put a barcode on a SMARTFORM for the boleto in the standard system.
    REgards,
    Renan Correa

  • Font size increases when smartform is sent as email attachment

    Hi,
    I am facing a problem with font size  of smartforms. when the output medium is printer, the form looks good. but when i convert smartform into PDF and send as email attachment, the font siz increases and text is getting truncated. Please help me solve this problem.
    Thanks,
    Hari

    Hi,
    Check the given below links and compare your code with them:
    http://sapient.wordpress.com/2007/06/19/smartform-to-mail-as-pdf-attachment/
    http://sap4.com/wiki/index.php?title=Envio_smartform_por_mail
    If still there is a problem, please do share a code.
    Also check sending a PDF document from your system via a Email(Outlook), and open the same in a different system and look for the changes.

  • Convert Smartform to PDF and send to SAP Workplace user

    Hi to all.
    I need help of somebody expert in SMARTFORM's.
    I need to convert a smartform into PDF format and to send as attachement for SAP workplace
    of the user.
    I developed the next code.
    IT is to function and to send the mail for SAP workplace, but it happens that smartform
    contains images (logos) and tables, when the user tries to open the file pdf in inbox gives
    to error - "An unrecognized token ' q0 ' was found".
    I tried to call a smartform only with text and functioned well.
    Somebody can help me?
    My code:
    Begin ***********************************************
    REPORT zteste_nsa_send_pdf_sap_office.
    DATA: t_print LIKE zeps_fm04 OCCURS 0 WITH HEADER LINE,
    v_size TYPE i.
    DATA: ls_bil_invoice TYPE lbbil_invoice.
    TABLES: nast.
    DATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
    i_tline TYPE TABLE OF tline WITH HEADER LINE,
    i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
    i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    Objects to send mail.
    i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
    i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
    Work Area declarations
    wa_objhead TYPE soli_tab,
    w_ctrlop TYPE ssfctrlop,
    w_compop TYPE ssfcompop,
    w_return TYPE ssfcrescl,
    wa_doc_chng TYPE sodocchgi1,
    w_data TYPE sodocchgi1,
    wa_buffer TYPE string,"To convert from 132 to 255
    Variables declarations
    v_form_name TYPE rs38l_fnam,
    v_len_in LIKE sood-objlen,
    v_len_out LIKE sood-objlen,
    v_len_outn TYPE i,
    v_lines_txt TYPE i,
    v_lines_bin TYPE i.
    START-OF-SELECTION.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = 'ZFPS_FICHA_VALORIZACAO'
    IMPORTING
    fm_name = v_form_name
    EXCEPTIONS
    no_form = 1
    no_function_module = 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.
    w_ctrlop-getotf = 'X'.
    w_ctrlop-no_dialog = 'X'.
    w_compop-tdnoprev = 'X'.
    CALL FUNCTION v_form_name
    EXPORTING
    control_parameters = w_ctrlop
    output_options = w_compop
    user_settings = 'X'
    is_bil_invoice = ls_bil_invoice
    is_nast = nast
    is_repeat = 'X'
    IMPORTING
    job_output_info = w_return
    TABLES
    t_list = t_print
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    i_otf[] = w_return-otfdata[].
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    format = 'PDF'
    max_linewidth = 132
    bin_filesize = v_len_in
    TABLES
    otf = i_otf
    lines = i_tline
    EXCEPTIONS
    err_max_linewidth = 1
    err_format = 2
    err_conv_not_possible = 3
    OTHERS = 4.
    IF sy-subrc EQ 0.
    ENDIF.
    Convert PDF from 132 to 255.
    LOOP AT i_tline.
    TRANSLATE i_tline USING '~'.
    CONCATENATE wa_buffer i_tline INTO wa_buffer.
    ENDLOOP.
    TRANSLATE wa_buffer USING '~'.
    DO.
    i_record = wa_buffer.
    APPEND i_record.
    SHIFT wa_buffer LEFT BY 255 PLACES.
    IF wa_buffer IS INITIAL.
    EXIT.
    ENDIF.
    ENDDO.
    SEND MAIL
    REFRESH: i_reclist,
    i_objtxt,
    i_objbin,
    i_objpack.
    CLEAR wa_objhead.
    Object with PDF.
    i_objbin[] = i_record[].
    Object with main text of the mail.
    i_objtxt = 'Fichas de Valorização e Esquemas Tipo'.
    APPEND i_objtxt.
    Document information.
    wa_doc_chng-obj_name = 'SMART'.
    wa_doc_chng-expiry_dat = sy-datum + 10.
    wa_doc_chng-obj_descr = 'Ficha de Valorização'.
    wa_doc_chng-sensitivty = 'F'. "Functional object
    wa_doc_chng-doc_size = ( v_lines_txt - 1 ) * 255 + STRLEN( i_objtxt ).
    Pack to main body as RAW.
    Obj. to be transported not in binary form
    DESCRIBE TABLE i_objtxt LINES v_lines_txt.
    READ TABLE i_objtxt INDEX v_lines_txt.
    CLEAR i_objpack-transf_bin.
    i_objpack-head_start = 1.
    i_objpack-head_num = 0.
    i_objpack-body_start = 1.
    i_objpack-body_num = v_lines_txt.
    i_objpack-doc_type = 'RAW'.
    APPEND i_objpack.
    Packing as PDF.
    Obj. to be transported in binary form
    DESCRIBE TABLE i_objbin LINES v_lines_bin.
    READ TABLE i_objbin INDEX v_lines_bin.
    i_objpack-transf_bin = 'X'.
    i_objpack-head_start = 1.
    i_objpack-head_num = 0.
    i_objpack-body_start = 1.
    i_objpack-body_num = v_lines_bin.
    i_objpack-doc_type = 'PDF'.
    i_objpack-obj_name = 'SMART'.
    CONCATENATE 'Ficha_Valorizacao' '.pdf' INTO i_objpack-obj_descr.
    i_objpack-doc_size = ( v_lines_bin - 1 ) * 255 + STRLEN( i_objbin ).
    APPEND i_objpack.
    e-mail receivers.
    CLEAR i_reclist.
    i_reclist-receiver = sy-uname.
    i_reclist-rec_type = 'B'.
    i_reclist-express = 'X'.
    APPEND i_reclist.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data = wa_doc_chng
    put_in_outbox = 'X'
    commit_work = ' '
    TABLES
    packing_list = i_objpack
    object_header = wa_objhead
    contents_bin = i_objbin
    contents_txt = i_objtxt
    receivers = i_reclist
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    OTHERS = 8.
    IF sy-subrc EQ 0.
    ENDIF.
    End *************************************************
    Thanks very much to all and Happy New year...
    Nelson

    Hi
    See this report as example:
    http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
    I believe before converting the print to pdf, you should print your document, get the spool and convert it.
    Max

Maybe you are looking for