SMARTFORMS - set printer device

Hi,
I have a SMARTFORM which is always going to be output on the same printer regardless of who is printing it and their default printer.
I have seen a field on the form attributes for setting the output device - but it cannot be edited !
Any ideas ?
Cheers
Colin.

Hai Colin
CALL FUNCTION 'GET_PRINT_PARAMETERS'
  EXPORTING MODE                  = 'BATCH'
              REPORT                = 'MYREPORT'
  IMPORTING OUT_PARAMETERS        = PARAMS
              VALID                 = VALID.
look into this link
http://help.sap.com/saphelp_nw04/helpdata/en/d5/6243ea8a4111d4b605006094192fe3/content.htm
You need to set the USER_SETTINGS perameter in your SmartForm to SPACE
Thanks & regards
Sreeni

Similar Messages

  • How can i set print mode at run time in smartforms???

    Hi expert,
    In smartforms how can I  set print mode at run time.
    I have one screen.In this screen one check box is there.If user select that check box then print should be come double side otherwise it is coming single side.
    If it is possible then plz give me answer asap.

    Hi,
    Set These settings
    While calling smartform, paas control_parameters and output_options as mentioned below and set
    user_settings = ' '.
    It will send the smartform output to spool.
    DATA: wa_output_options TYPE ssfcompop,
    wa_ctrl TYPE ssfctrlop.
    wa_output_options-tdimmed = 'X'.
    wa_output_options-tddelete = 'X'.
    wa_output_options-tdimmed = ' '.
    wa_output_options-tddest = 'LOCL'.
    wa_ctrl-no_dialog = 'X'.
    CALL FUNCTION lv_fm_name
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    control_parameters = wa_ctrl
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    output_options = wa_output_options
    user_settings = ' '
    x_adrp = x_adrp
    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
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards,
    Kumar(Reward if helpful).

  • Adding bar codes to printer device for smartforms pdf conversion?

    Hello friends,
    I would like to send a smartform as a pdf to an email recipient. The smartform shows some bar codes. The send process workes fine. But the bar codes doesn't appear on the pdf correctly. Therefore I would like to add bar codes to the printer device type in transaction SE73.
    Does somebody know the device type for smartforms pdf conversion? Or how can I add bar codes to smartforms pdf conversion process?
    greetings
    daniel

    Hello Denial,
    Try these links, this might solve ur problem
    http://www.tec-it.com//documentation/TBarCodeSAPLPD_EN.htm
    http://www.mecsw.com/info/appnote/app_024.html
    if you need any more information send me at [email protected]
    Thanks & Best Regards
    Ankur Jain

  • How to avoid the printer device option screen when calling smartform?

    Dear gurus
    i have create a smartform and i have called it from my program.
    i dont want to show the printer device options how can i achieve that ?
    below is the code for calling my smartform.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname                 = 'ZSNAK_VF03_PRINTING'
       IMPORTING
        fm_name                  = smart_form_function_nm
       EXCEPTIONS
         no_form                  = 1
         no_function_module       = 2
         OTHERS                   = 3
      CALL FUNCTION smart_form_function_nm
        EXPORTING
          itab1              = itab1
          temp4              = temp4
          temp3              = temp3
          ref_doc_no         = ref_doc_no
          po_no              = po_no
          printno            = printno
        TABLES
          itab_tab           = itab_tab
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
    Regards
    Saad Nisar.

    Hi,
    check this link
    smartforms  -   print option
    Regards and Best wishes.

  • Smartform-PDF-Printer fonts

    Hi Folks,
    Here we have designed a Invoice-smartform and converted it into PDF which is by default storing in c-drive as mentioned in the code.When we open the Pdf it is displaying it fine but when given a printout except the logo nothing is getting printed,I mean it is showing all junk characters.May I know what is the problem and how to rectify the same.
    Points will be given.
    K.Kiran.

    Hi Kiran, see the OSS notes: 960341 and 776507.
    I downloaded and copying here, Hope this will be helpful
    OSSNote:960341
    Symptom
    In some device types (e.g HPLJ4, HPLJ5) you experience non-uniform character spacing in the PDF document after the PDF conversion of SAPscript or Smart Forms documents, using HELVE or TIMES fonts. You want to know the reason.
    Other terms
    CONVERT_OTF, SAPscript, Smart Forms
    Reason and Prerequisites
    The problem is not due to an error in the PDF converter but due to the fact, that the printer font, underlying the device type (e.g. Univers or CG Times in PCL-5 device types), is not available for the PDF converter and is either not available in Adobe Reader. The PDF converter has to try to simulate the layout of the printer font by means of a font which is predefined in Adobe Reader. This is done by assigning the letter widths of the printer font to the font used in Adobe Reader.
    The PDF file contains a table with letter widths, used by Adobe Reader in the output of text, for each used printer font (except PostScript fonts).
    Example:
    %Charwidth values from HP4300 HELVE 060 normal
    /Widths
    [ 278 333 500 633 633 1000 758 333 333 333 633...
    Adobe reader converts this width table, by modifying the space between each character, so that the specified letter width (= space between the current and the next letter) is kept.
    This 'Simulation' of printer fonts results in the sometimes visible irregular spaces in PDF.
    The PDF converter always uses the Helvetica Adobe PostScript font for the display of HELVE and the Times Roman Adobe PostScript font for the display of TIMES. However, for these Adobe PostScript fonts, Adobe Reader often uses a Windows TrueType font, which differs slightly from the original PostScript font.
    Solution
    Workaround: Use the POST2 PostScript device type or the PDF1 PDF device type for the PDF conversion of documents in the Latin-1 character set. They both use the Adobe PostScript fonts Helvetica or Times Roman for the HELVE/TIMES printer fonts.
    Header Data
    Release Status: Released for Customer
    Released on: 30.06.2006  12:44:06
    Priority: Recommendations/additional info
    Category: Consulting
    Primary Component: BC-CCM-PRN Print and Output Management
    Secondary Components: BC-SRV-SCR SAPscript
    OSS Note: 776507
    Symptom
    Documents printed via SAPscript or SmartForms do not print with correct special characters, e.g. ### prints instead of Japanese or Russian characters. What to do?
    Other terms
    SAPscript, SmartForms, printing, device types, OTF
    Reason and Prerequisites
    Help required to choose proper fonts in a SAPscript or SmartForm
    Solution
    When using SAPscript or SmartForms to print (or email or fax) a form from a business application, many factors influence the outcome of the actual text within the form. All these factors must be checked in order to ensure a correct printout:
    1) The language version of the form used to produce the printout.
    Example: If you want to print a French invoice, you need to have a FR version of your SAPscript or SmartForms invoice form RVINVOICE01. And the application program must specify the corresponding language key (FR) when calling the SAPscript or SmartForms API.
    2) The font selections specified in the form (possibly also in a SAPscript style or SmartStyle used in a form).
    Example: In a SAPscript form or a SmartStyle you need to specify HELVE if you want to print German text in Helvetica (or similar) font. If you want to print Japanese text, HELVE is not a valid choice but you need to specify a Japanese font like JPMINCHO in your Japanese form.
    3) The output character set of the device type
    Every printer in transaction SPAD has a "device type" assigned. Device types used by the spooler for printing support only one single specific output character set. All text from the form has to be converted (using SAP's built-in character conversion mechanism) to this output character set.
    A character set can typically support either a single language (e.g. Shift-JIS which supports only Japanese) or a set of languages (e.g. ISO 8859-1, which supports Western-European languages). It is possible that a given language (such as German) can be supported by several output character sets, e.g. you may use either ISO 8895-1 (Latin-1) or ISO 8859-2 (Latin-2) to represent German text. This is so because both character sets contain the special characters used in German.
    Example: HPLJ4000 is a HP LaserJet device type supporting the ISO 8859-1 (Latin-1) character set. ISO 8859-1 can be used to represent e.g. Dutch, English, French, German, Spanish, Swedish but NOT Russian or Japanese.
    As a consequence, it is ok to use HPLJ4000 to print English, German French etc. but not for Japanese or Russian.
    4) The set of available printer fonts for a given device type
    When formatting a document, SAPscript and SmartForms perform an automatic mapping of the font definitions in the form (e.g. "HELVE 14 point bold") and the available printer fonts of the device type. A replacement printer font is chosen, should the specified font selection not be available in the device type. Now this replacement can be problematic if a language-specific font, such as Chinese CNSONG, is specified in a form and it gets replaced by a font which does not support this language, e.g. COURIER.
    To solve this problem, font families in SE73 have language attribute assigned, e.g. some fonts are characterized as being suitable only for certain languages. And when a replacement has to be chosen because the original font from the form is not available in the device type, a replacement font is chosen which has the same language attributes.
    If no fonts for the language in question exist in the device type, the resulting font will not be able to print the special characters and you will see "wrong" output characters in the printout.
    Note on SAPscript/SmartForms Print Preview:
    The OTF Print Preview available in Windows GUI (e.g. from transaction SP01) will sometimes not show the "wrong" characters which appear on the final printout. Here is the reason: since the Print Preview runs in Windows environment, it will use Windows fonts to represent the actual printer fonts. A Windows font typically has more available characters (i.e. covers more character sets) than are actually available in a printer's resident font.
    A typical example where the Print Preview will differ from the printout is here: if you have a Chinese PCL5 printer such as CNHPLJ4 and use the Western Latin font COURIER in your document, the print preview will show you Chinese characters if you (by accident) tried to format Chinese characters in COURIER font. This is because Windows will automatically choose a font that can output Chinese characters (which is actually not Courier). But when you print the job on an actual PCL5 printer with resident Western and Chinese fonts, the Courier font will not print any Chinese characters but Western special characters instead, because the printer's resident Courier font does not include Chinese characters.
    Rule of thumb: all Asian device types (e.g. CNHPLJ4, JPHPLJ4, JPPOST, KPHPLJ4) support not only Asian fonts but also COURIER, HELVE and TIMES fonts. But these Latin fonts can only be used to print English text, not Chinese/Japanese/Korean characters.
    Which fonts are suitable for a given language?
    Language(s):            Font family to use in a form:
    Latin-1 (Western Europe/Americas) *******
    DE,EN,FR,ES,NL,SV       COURIER, HELVE, TIMES
                            (LETGOTH, LNPRINT)
    Latin-2 (Central Europe) ****************
    PL, CZ                  COURIER, HELVE, TIMES
    ISO 8859-4 (Baltic) *********************
    ET, LT, LV              COURIER, HELVE, TIMES
    ISO 8859-5 (Cyrillic) *******************
    BG, RU, SR, UK          COURCYR, HELVCYR, TIMECYR
    ISO 8859-7 (Greek) **********************
    EL                      COUR_I7, HELV_I7, TIME_I7
    ISO 8859-8 (Hebrew) *********************
    HE                      COURIER, HELVE, TIMES
    ISO 8859-9 (Turkish) ********************
    TR                      COURIER, HELVE, TIMES
    Simplified Chinese **********************
    ZH                      CNHEI, CNKAI, CNSONG
    Japanese ********************************
    JA                      JPMINCHO, DBMINCHO, DBGOTHIC
    Korean **********************************
    KP                      KPBATANG, KPDODUM, KPGULIM
                            KPGUNGSE, KPSAMMUL
    Traditional Chinese *********************
    ZF                      TWDPHEI, TWMING, TWSONG
    Thai ************************************
    TH                      THANGSAN, THDRAFT, THVIJIT
    Arabic (Unicode systems only) ***********
    AR                      ANDALE_J
    Verify your output by examining the OTF data
    When analysing printing problems of this type, be sure to check the OTF data which gets produced by SAPscript or SmartForms. OTF or "Output Text Format" is the intermediate page-description format generated from SAPscript or SmartForms. OTF will contain the final printer font names and character set/language identifiers which help to solve the problem. OTF will even name the form and the language of the form used to create the output.
    The easiest way to do this is to create a spool request from your application, run transaction SP01, use menu
    Goto->Display Requests->Settings
    and choose
    Display Mode: Raw
    Now display your spool request. If this is a SAPscript or SmartForms spool request, you will see OTF data. Each line represents one OTF command, every command starts with a 2-character cmd identifier and possibly some cmd parameters follow.
    Here is an excerpt from a sample OTF file where we highlight the most interesting commands:
    //XHPLJ8000    0700 00000000001
    IN04EALEXTEST_ZEBRA
    IN05%PAGE1
    OPDINA4  P 144  240 1683811906000010000100001
    IN06%WINDOW2
    MT0024401289
    CP11000000E
    FCHELVE  120  00109XSF100SF101110000067E X
    UL +0000000000000
    SW00067
    CT00000000
    ST0453037Dieses SF hat Stil ALEXTEST_ZEBRA mit
    The 1st line with the // (Control) command reveals the device type usedto print: HPLJ8000
    //XHPLJ8000    0700 00000000001
    The 2nd line (IN = Info command) shows the name and (internal 1-char)language key of the form:
    IN04EALEXTEST_ZEBRA
    In this case it is the English (E = EN) SmartForm ALEXTEST_ZEBRA
    The OP-line (OP = Open Page) gives the page format used in the form, it is DINA4 Portrait orientation:
    OPDINA4  P 144  240 1683811906000010000100001
    The CP (CodePage) cmd shows the SAP system codepage used to code the text and the active language. In our case it is codepage 1100 and language E = EN = English.
    CP11000000E
    Finally, the FC-cmd (Font Call) lists a printer font selected within SmartForms. Please note that every SmartForm has a designated default SmartStyle under "Form Attributes->Output Options". In addition, every text node can have a SmartStyle attached (which will override the definitions from the default style for the text). In our case the resulting printer font that was selected is HELVE 12.0 pt bold-off, italic-off.
    FCHELVE   120  00109XSF100SF101110000067E X
    Header Data
    Release Status: Released for Customer
    Released on: 22.08.2005  09:57:20
    Priority: Recommendations/additional info
    Category: Customizing
    Primary Component: BC-CCM-PRN Print and Output Management
    Secondary Components: BC-SRV-SCR SAPscript
    BC-SRV-SSF Smart Forms
    regards,
    Anji

  • About Dot matrix printer device problems

    Hai ,
              I have a problems in smartforms and i used the printer device is dot matrix(Used PLY paper)..Its unable to print the vertical & horizontal lines but the corresponding spooler contains correct alignments..in the same time i used HP laser device (Used A4 sheet)..but its able to print..
    whats the main reason for this problem????
    pls reply me asap.because its a urgent requirement for me..
    advanced thanks for ur reply..
    Rgds,
    Muru.P.

    Hi,
        Thanks for your immediate reply..
    Previously we used sapscript form..its able to print properly in same device(dot matrix)...As per some new requirement, we implemented smartforms with same alignment..and also we used same printer settings as per previous..but something we missed...
    Thanks,
    Muru.P.

  • Best setting for my set of devices

    I would like to know what would be the best settings to get the maximum throughput for my set of devices.
    Last night both Airport Extreme and Airport Express were updated with firmware to 7.5.2
    1) Upstairs I have an Airport Extreme. Newer version with 2.4gz and 5ghz bands. This is connected to my AT&T Uverse router/modem. My iMac is ethernet connected to the Airport. Running speed tests I get almost the expected speeds of 12mbs download and 1.5mbs upload.
    I had setup a 2.4ghz network and a 5ghz network but may not have used the best settings for my environment.
    2) Downstairs is an Airport Express. I is a "n" version
    3) Connected to the Airport Express via ethernet is a small ethernet hub and connected to that are 2 Dishnetwork 722 DVRs. Each 722 has a Sling Adapter to allow viewing the contents over the internet via iPhone, iPad or web browser. This was the goal for the Express, to supply that info.
    Getting max speed out of this Express is important to get the DVRs output out of my house and to my iPad or iPhone.
    4) These are the following devices that are connecting at the house via wifi:
    a) iPhone 4
    b) iPhone 3g
    c) Apple TV newest model and is downstairs next to the Airport Express
    d) iPad
    e) Macbook Air first generation and this is used downstairs in the same room as the Airport Express
    Using Airport Utility it appears that all devices show 80211.n and 5ghz except the iphone 3G, which shows 802.11 b/g AND shows it attached to the Airport Express even when I'm next to the Extreme.
    From the Airport Utility, I've seen the values fluctuate but here is what shows Signal, Rate and Noise for each device as a snapshot on the Airport Extreme
    iPhone 4 -44, -96, 65
    Airport Express -59, -96, 144
    Apple TV -70, -96, 52
    iPad -50, -96, 65
    Macbook Air -24, -96, 216
    Using the Airport Utility, the Airport express show these values
    iPhone 3G -66, -85, 54
    Airport Extreme -54, -86 104
    Let me know if you need any other details.

    Any advice on the best Airport Utility settings for the Extreme and the Express?
    The default settings work very well, so unless you have a specific reason to change them, I would stay with those settings
    Should the Express extend a network or join a network?
    "Extend" provides more wireless coverage in the area where the Express is located. "Join" provides better bandwidth if you are using only for iTunes, etc. Most users want more wireless coverage.
    If I were to extend at network, should the Express extend to the 5ghz or the 2.4ghz
    If you have good signal strength at the location of the Express, 5 GHz will support up to 270 Mbps bandwidth. 2.4 GHz will support up to 130 Mbps. You want as much bandwidth as you can get for high definition video performance if you are using wireless. If you have an option to connect the DVRs using ethernet, that will provide the best performance.
    The iPhone would have to connect back to your main router if you set the Express up for 5 GHz. It is not easy to extend 5 GHz. You literally have to have very close to a line of sight situation between the main router and the Express for this to work.
    If I were to get another Extreme, should it join or extend the network on the Extreme upstairs.
    The Extreme does not really do anything if you set it up to "join". The ethernet ports are not active. All you would be able to do with the device in this setting is attach a printer or hard drive to the USB port.
    Any documents that would explain the best choices for linking 2 Extremes together?
    Apple AirPort Networks is a very good guide.
    If you are linking two routers together, an ethernet connection is always the "best" way to do this because it provides maximum bandwidth performance. Up to 1000Mbps with ethernet. "Extending" using wireless only can work well if the "extending" AirPort receives a very strong wireless signal. Ideally, there would be a line-of-sight situation between the devices or close to that ideal.
    Message was edited by: Bob Timmons

  • Two SAP systems, same smartform, different print outputs

    We have two SAP systems, because of the different business areas that our company has.
    We develop a smartform with a custom style which has Gill Sans MT as default font. The smartform is printed directly into PDF format.
    On system A on all environments it works fine and we transported it to system B.
    On system B the output on PDF format comes in bold, all the characters are bold. This happens on all environments. On preview we don't see bold font but the spacing between characters is larger than expected (for example, a date is printed in two lines of a cell).
    I've checked the settings on SE73 and they are the same on both systems.
    I've also created a second style were I've taken out all bold settings. On system A, the smartform' style was changed to this new one. The changes were transported to system B, and still it prints all bold.

    Thanks for the replys. I think this is an answer to both.
    Checked SPAD and differences  are:
    1. output device LOCL:
    System A:     
    - Device Type: ZSAPWIN
    - Host Spool Access Method: F
    System B:
    - Device Type: SAPWIN
    - Host Spool Access Method: G
    2. Device Type:
    System A:
    - has two custom formats (none used on this specific smartform)

  • Smartform output printer

    Hello,
    The problem is that when printing a smartform, the output device taken by our custo program is always LOCL, and it should be the parameter tddest... the code is similar to:
    data:
    WA_SSFCOMPOP    TYPE SSFCOMPOP,                  "OUTPUT_OPTIONS
    WA_SSFCTRLOP    TYPE SFCTRLOP.                  "CONTROL_PARAMETERS
    v_printer TYPE wa_option_print-TDDEST.     
    WASSFCTRLOP-NO_DIALOG = 'X'.
    wa_option_print-TDDEST = v_printer.
    CALL FUNCTION l_form_name
      EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
       control_parameters         = lwa_ssfctrlop
        output_options             = lwa_ssfcompop
      USER_SETTINGS              =
        p_seq                      = l_seq
        p_matnr                    = l_matnr
        p_mat_desc                 = l_mat_desc
        p_bacth                    = l_bacth
        p_qty1                     = l_qty1
        p_qty2                     = l_qty2
        p_date_j                   = l_date_j
        p_resource                 = l_resource
        p_proc_ord                 = l_proc_ord
    EXCEPTIONS
       formatting_error           = 1
       internal_error             = 2
       send_error                 = 3
       user_canceled              = 4
       OTHERS                     = 5.

    tddes is always populated with right values.

  • How to create Printer Device in SPAD

    Hi All,
    can any one please tell me step-by-step process to create new printer device and configure it in ECC5.0
    If you need any more info plz let me know
    That would be a great help
    Regards,
    Faisal

    Hi Faisal,
    Use t-code spad, click on output device, click on change (F8), click on create (Shift +1).
    In deviceattributes
    output device = put name of the printer
    short name = put any short name
    devicd type = select printer type like epsio,hp etc.
    spool server = select spool server name
    device class = select class othewise standard
    In Accessmethod
    host spool access method = S: Print using sap protocol
    host printer = printer name which is given by you
    destinatio host = ip address of the printer
    connection option
    connection time = 0
    port number = 515 may be differ as per printer
    response time = 0
    Output attributes
    host spool cover page = do not print host spooler cover page
    in below of process request sequencely
    press copy counter to host spool system
    print mode = default printer default setting
    printer tray = default tray
    These are the setting to configure new printer in sap.
    Please rewared point if your query is solve and mark in your blog to answered.
    Regards,
    Anil

  • Smartform preview / print of chinese characters

    Hello all
    I am facing this issue:
    After implementing SAP Note 852926, the Smartform preview / printing works fine with Chinese characters in DEV system.
    The Unit test were OK and then the SAP Note has been transported to our TEST env, but the chinese characters are not previewed and printed correctly there.
    I see characters as "»ÆêÍ" instead of "黄晖"
    I can not find any difference in settings / fonts of the two systems. What am I missing?
    Anybody can give a hint?
    Thanks
    Imrich

    Hello Imrich,
    Do you use the same device type to print in th test system?
    To print Chinese characters from SAP, there are some rules:
    1. The form must have Chinese language key 'ZH' or the Chinese texts must be included as standard texts with the language key 'ZH'.
    2. The correct Chinese fonts(e.g. CNHEI or CNSONG) must be used for the Chinese texts in the form.
    3. The form must be processed with a device type that supports the simplified Chinese language.(eg:device type CNSAPWIN).
    Another possibility if you have a Unicode system is tp print via desvice type SWINCF. Here the language of the form doesn't matter.
    Regards,
    Aidan

  • E-Mail print error; check SmartForm or printer definition

    Hi Team,
    We are facing  an issue when we try to print the email in SAP CRM 7.0. Getting an error saying -Mail print error; check SmartForm or printer definition.
    Any pointers on this how this can b resolved will be of great help.
    Have gone through the similar sdn thread, not able to really understand how the issue was resolved.
    Error when printing an email >  CRM_IC_APPL_UI_CHMSG
    Regards,
    Udaya

    Hi Udaya,
    Try to maintain a default printer for a particular user in t-code SU01 (on Defaults tab -> Output Device).
    Then, when you print again it will generate a spool order for chosen printer (can check on t-code SP01).
    Kind regards,
    Garcia

  • Set print more copies in 1 time!

    Hi All
    I have 1 smartform, print out to 4 copies. I write code in smartform :
                  IF SFSY-COPYCOUNT = '1'.
                        COPY = '1st Copy: FILE'.
                  ELSEIF SFSY-COPYCOUNT = '2'.
                        COPY = '2nd Copy: For Customer'.
                  ELSEIF SFSY-COPYCOUNT = '3'.
                        COPY = '3rd Copy: For Customs'.
                  ELSEIF SFSY-COPYCOUNT = '4'.
                        COPY = '4th Copy: Payment'.
    I run test (F8) in smartform and set number of copies is 4, I can see 4 copies.
    But when I active this smartform, set output to other transaction and print output, I can not change number of copies.
    How can I set default 1 time print out 4 copies for this smartform ?

    Hi,
    Before calling the FM you need to call :
    SSFCTRLOP-NO_DIALOG = 'X'.
    SSFCOMPOP-TDNEWID = 'X'.
    SSFCOMPOP-TDNOPREV = 'X'
    Then ypu can use wa_ssfcompop-tdcopies. Define no of copies you need to print here.

  • Finger Print Device not found using Think Advantage Finger Print Software

    3000 N100, the finger print device can not be found when trying to set up profiles.  The computer had been restored to new state using the function key at startup.
    I deleted programs I did not want after that but the Think Advantage was left as is, I believe.  I can get as far as trying to create finger print profiles, then I get the finger print device can not be found.
    I am XP SP3
    E/.
    Message Edited by EmClark on 05-19-2009 10:42 AM
    Tinkering All The Time
    E/.

    Solved...I downloaded the updated Fingerprint software from the driver page and that fixed it.
    Tinkering All The Time
    E/.

  • How to Printer device in madulepool

    Dear friends,
    I have designed a screen with select options in madulepool and given a PRINT push button,
    Ones I clicked on PRINT Push button then it need to ask the printer device ( Like our standard SAP functionality for print in tool bar).
    the selected data should go to print for selected printer from device.
    how to get it????
    Thanks,
    Sridhar

    Hi,
    Use the function module GET_PRINT_PARAMETERS.
    Documentation for that is:
    Functionality
    The function module GET_PRINT_PARAMETERS is used to define, modify and display the print and archive parameters. Using this function module is the only correct way to modify a print or archive parameter record. The print parameters are closely related and contain a check total. This check total becomes invalid if any of the print parameters are changed and causes a runtime error when the print parameters are used later.
    The required parameters are defined in the structure IN_PARAMETERS or IN_ARCHIVE_PARAMETERS. These input parameters must originate from another call of GET_PRINT_PARAMETERS or must be initial. The resulting print and archive parameters are returned with the function parameters OUT_PARAMETERS or OUT_ARCHIVE_PARAMETERS. The remaining IMPORT parameters, such as DESTINATION, LIST_NAME etc., are used to define the values to be passed to OUT_PARAMETERS or OUT_ARCHIVE_PARAMETERS. The output parameter VALID has the value BLANK in an interactive call if the user canceled the print screen.
    You can use the function module with dialog (parameter NO_DIALOG = SPACE) or without dialog. If you use a dialog, a screen appears on which the user can change the print parameters.
    Note: The "Print from page to page" option on the screen is not suitable for printing from ABAP programs, and is therefore not part of the structure PRI_PARAMS.
    The module recognizes the following modes (values of parameter MODE):
    'PARAM' Normal case. Define the print parameters for the
    current program. The values that are not defined
    are specified from the user master record or are
    assigned default values. The print parameter screen
    displays the PRINT key. This mode is used
    if the MODE parameter is not specified.
    'PARAMSEL' Like PARAMS, except that the print parameter screen
    includes an option to activate the selection screen.
    'BATCH' Define the print parameters for a background job.
    In this mode, the name of the report to be started
    is passed with the REPORT parameter.The REPORT
    statement of the specified report is checked for
    LINE-SIZE and LINE-COUNT definitions. These
    definitions are passed as default specifications.
    Furthermore, the SAVE key is offered
    instead of the PRINT key in this mode.
    'CURRENT' Define the current valid print parameters:
    These parameters come from the following sources:
    1.) From the user-specific print parameters
    2.) From the LINECOUNT and LINESIZE additions in
    the REPORT statement
    3.) If the report is running in the background or
    with Execute and Print, from the print parameters
    passed from the report.
    Otherwise it behaves as with PARAMSEL. In general, you should
    set import parameter NO_DIALOG in this modus,
    becausethis mode is only pointful, if it is run in the background.
    'DEFVALS' Display for the default values.
    Some of the default values are stored in the user defaults,
    others can be maintained specifically for users and reports
    using System -> List -> Print -> User-specific print
    parameters.
    The sytem returns the values for the current user and
    report.
    'DISPLAY' Displays the print parameters passed.
    IMPORTANT:
    In DEFVALS mode, the fields in out_parameters that are not contained in the user defaults are initial (type unknown). This means that the fields are not considered if out_parameters is passed again in a subsequent call of GET_PRINT_PARAMETERS.
    In all other modes, all fields of out_parameters are filled with values (possibly default values). This means that the fields are considered if out_parameters is passed in a subsequent call of GET_PRINT_PARAMETERS.
    You should normally query the value of VALID. It has the possible values TRUE and FALSE. If it is FALSE, the user has either canceled the print dialog, or the function module has been called with parameters that cannot be used to print properly (for example, printing in the background on a frontend printer).
    Example
    Normal definition of the print parameters
    DATA: PARAMS LIKE PRI_PARAMS,
    VALID TYPE C.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
    EXPORTING DESTINATION = 'LT50'
    IMPORTING OUT_PARAMETERS = PARAMS
    VALID = VALID.
    IF VALID <> SPACE.
    NEW-PAGE PRINT ON PARAMETERS PARAMS.
    ENDIF.
    Definition of the parameters for printing and archiving
    DATA: PRI_PARAMS LIKE PRI_PARAMS,
    ARC_PARAMS LIKE ARC_PARAMS,
    VALID TYPE C.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
    IMPORTING OUT_PARAMETERS = PRI_PARAMS
    OUT_ARCHIVE_PARAMETERS = ARC_PARAMS
    VALID = VALID.
    IF VALID <> SPACE.
    NEW-PAGE PRINT ON PARAMETERS PRI_PARAMS
    ARCHIVE PARAMETERS ARC_PARAMS.
    ENDIF.
    Definition of the parameters for a background job
    DATA: PARAMS LIKE PRI_PARAMS,
    VALID TYPE C.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
    EXPORTING MODE = 'BATCH'
    REPORT = 'MYREPORT'
    IMPORTING OUT_PARAMETERS = PARAMS
    VALID = VALID.
    IF VALID <> SPACE.
    CALL FUNCTION 'JOB_OPEN' .... EXPORTING JOBCOUNT ...
    SUBMIT MYREPORT VIA JOB 'MY_JOB' NUMBER JOBCOUNT
    TO SAP-SPOOL WITHOUT SPOOL DYNPRO
    SPOOL PARAMTERS PARAMS.
    CALL FUNCTION 'JOB_CLOSE' ...
    ENDIF.
    Modifying the print parameters
    CALL FUNCTION 'GET_PRINT_PARAMETERS' "Obtain print
    EXPORTING NO_DIALOG = 'X' "parameters
    IMPORTING OUT_PARAMETERS = PARAMS.
    CALL FUNCTION 'GET_PRINT_PARAMETERS' "Modify print
    EXPORTING NO_DIALOG = 'X' "parameters
    IN_PARAMETERS = PARAMS
    LIST_NAME = 'NEW-LIST'
    IMPORTING OUT_PARAMETERS = PARAMS.
    Parameters
    ARCHIVE_ID
    ARCHIVE_INFO
    ARCHIVE_MODE
    ARCHIVE_TEXT
    AR_OBJECT
    ARCHIVE_REPORT
    AUTHORITY
    COPIES
    COVER_PAGE
    DATA_SET
    DEPARTMENT
    DESTINATION
    EXPIRATION
    IMMEDIATELY
    IN_ARCHIVE_PARAMETERS
    IN_PARAMETERS
    LAYOUT
    LINE_COUNT
    LINE_SIZE
    LIST_NAME
    LIST_TEXT
    MODE
    NEW_LIST_ID
    PROTECT_LIST
    NO_DIALOG
    RECEIVER
    RELEASE
    REPORT
    SAP_COVER_PAGE
    HOST_COVER_PAGE
    PRIORITY
    SAP_OBJECT
    TYPE
    USER
    USE_OLD_LAYOUT
    UC_DISPLAY_MODE
    DRAFT
    ABAP_LIST
    USE_ARCHIVENAME_DEF
    DEFAULT_SPOOL_SIZE
    PO_FAX_STORE
    NO_FRAMES
    OUT_ARCHIVE_PARAMETERS
    OUT_PARAMETERS
    VALID
    Exceptions
    ARCHIVE_INFO_NOT_FOUND
    INVALID_PRINT_PARAMS
    INVALID_ARCHIVE_PARAMS
    Function Group
    SPRI
    regards,
    Omkar.

Maybe you are looking for