Print issue for smartform by zebra QL420plus in SAP

Hi All,
I created a smartform in SAP to print out label on zebra QL420Plus.
Current the key issue is that I can not print out smart form from SAP to QL420plus directly. I need to print some text from windows by notepad or word after I power on QL420plus. Then QL420plus seem to be active. So at this point I can print out smartfrom from SAP to QL420plus. I am not sure what’s wrong with QL420plus equipment?
Thanks.
Crystal

did you try like this :
Spool
data: in_list     like  pri_params-plist,
      in_dataset  like  pri_params-prdsn,
      in_spool(1) type  c,
     d_dest          like pri_params-pdest.
NEW-PAGE PRINT ON
            NO-HEADING
            NO-TITLE
            LIST NAME in_list
            LIST DATASET in_dataset
            LINE-SIZE 132
            LINE-COUNT 65
            COPIES 1
            NO DIALOG
            KEEP IN SPOOL ''
            DESTINATION d_dest
            NEW LIST IDENTIFICATION in_spool
            ARCHIVE MODE '1'
            IMMEDIATELY ''.

Similar Messages

  • Printing Issue for Smartform

    Hi All..
    The smartform has been created and activated without any Errors.
    All the data are appearing in the Print Preview in a desired format.
    But when i take the Print, the icon is not getting printed.
    Instead of icone being printed, few dark lines are getting printed on the paper.
    Except icon, all the Text, Tables, etc are getting printed in a right manner.
    What may be the reason..???
    Please Help me out....

    Hi Pavan,
    Please check your printer settings.
    Regards,
    Chetan.

  • How to write print program for smartforms

    Hi all
    I need to develop new smartform and its print program.
    But Im not experience in writing print program for smartform.
    Ive gone through the simple print program sample that use only one table as input and one table for output.
    But my smartforms require few tables for input and output.
    How should I define the Data?
    Can anyone guide me on how to write it.
    Thanks & Regards
    az

    Transaction code SMARTFORMS
    Create new smartforms call ZSMART
    2. Define looping process for internal table
    Pages and windows
    First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
    Here, you can specify your title and page numbering
    &SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
    Main windows -> TABLE -> DATA
    In the Loop section, tick Internal table and fill in
    ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
    3. Define table in smartforms
    Global settings :
    Form interface
    Variable name Type assignment Reference type
    ITAB1 TYPE Table Structure
    Global definitions
    Variable name Type assignment Reference type
    ITAB2 TYPE Table Structure
    4. To display the data in the form
    Make used of the Table Painter and declare the Line Type in Tabstrips Table
    e.g. HD_GEN for printing header details,
    IT_GEN for printing data details.
    You have to specify the Line Type in your Text elements in the Tabstrips Output options.
    Tick the New Line and specify the Line Type for outputting the data.
    Declare your output fields in Text elements
    Tabstrips - Output Options
    For different fonts use this Style : IDWTCERTSTYLE
    For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
    5. Calling SMARTFORMS from your ABAP program
    REPORT ZSMARTFORM.
    Calling SMARTFORMS from your ABAP program.
    Collecting all the table data in your program, and pass once to SMARTFORMS
    SMARTFORMS
    Declare your table type in :-
    Global Settings -> Form Interface
    Global Definintions -> Global Data
    Main Window -> Table -> DATA
    Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
    http://sapr3.tripod.com
    TABLES: MKPF.
    DATA: FM_NAME TYPE RS38L_FNAM.
    DATA: BEGIN OF INT_MKPF OCCURS 0.
    INCLUDE STRUCTURE MKPF.
    DATA: END OF INT_MKPF.
    SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
    SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
    MOVE-CORRESPONDING MKPF TO INT_MKPF.
    APPEND INT_MKPF.
    ENDSELECT.
    At the end of your program.
    Passing data to SMARTFORMS
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZSMARTFORM'
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    FM_NAME = FM_NAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3.
    if sy-subrc 0.
    WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function FM_NAME
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    GS_MKPF = INT_MKPF
    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.
    Reward points...

  • To find print program for smartforms.

    pls tell me how to find print programs for smartforms.pls tell me with all steps.clearly.i tried with tanpr table but unable to find

    hi,
    Please take a look at the NACE transaction where all the output conditions will be configured. Drill down into you specific application and you should be able to find the print program as well as the smart form name.
    Steps..
    Use NACE and follow procedure as follows
    1)Choose Application from list(eg PO)
    2)Click OP type
    3)Chose one OP type from Right pane.
    4)Click on processing routines
    and you got it
    regards,
    keerthi

  • Need Print Program for Smartform /SAPSLL/SF_GL_EPL for Export Packing list

    Hello Friends,
                         I need a print program for Smartform /SAPSLL/SF_GL_EPL for Export Packing list. Please reply ASAP.
    Thanks,
    Ziad.

    Hi Sowjanya,
                         I am using FUEP o/p type for Export Packing list for Billing . I Copied SAPscript SD_EXPORT_FUEP form and the  print program for this is same RVADAUS1. Can we use the same print program for Smartform  /SAPSLL/SF_GL_EPL?
    Thanks,
    Ziad

  • Page printing issue with smartform PO

    Hi Super-Techies,
    I have created a z print program for my purchase order smartform. But the issue I am facing now is that when i try to view the purchase order from transaction me23n -> print preview ( with 15 items). I am getting output as a single page with 10 items on it. The rest 5 items are not being displayed. I mean the page is not getting printed from 2nd page onwards.
    What could be the issue??? Can anyone suggest me.
    Thanks & Regards,
    Vinit

    Hi,
    As said above, I have used table instead of template and the data is flowinf to next pages.
    BUt now the issue is that in the last page suppose if there are only 5 items, than the window border prints after 5 items. It is not good while print preview as there is a blank space created in form (for the rest 5 items which are not being used).
    I want to fix the main window border irrespective of the line items.
    Whats advice on this issue.
    Regards,
    Vinit

  • Total pages printed issue in Smartforms

    Hi,
    I have small issues in Smartforms,
    I wm working for Check Printing in Smartforms. Here after printed the various checks i am printing the summary report, here i printede the details of total transactions and total printed pages.
    If  i have more than once page in single check (like overflow pages) that also need to be calculted in the count.
    In the forms i declared &SFSY-FORMPAGES& but its not calculating overflow pages.
    Please guide me about this issue.
    Thanks.
    VJ.

    Hi Florian,
    Thanks for your response and O/P management info.
    My req is after printing the cheque pages, i am printing seperate page for summary report, here i am displaying total no of transactions, amount and total pages printed.
    Code Ref:
       CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = lf_formname_s
        IMPORTING
          fm_name            = lf_fm_name_s
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc <> 0.
    * Implement suitable error handling here
      ENDIF.
      CALL FUNCTION lf_fm_name_s
        EXPORTING
          control_parameters = ls_control_param
          output_options     = ls_composer_param
          user_settings      = ' '
          v_file_name        = v_smart_name
         t_t_processed      = t_t_processed                             " for total processed
          t_check_amount     = t_check_amount_t
          t_tot_rec          =               v_tot_rec          "    REQUIRED FIELD..?????
    IMPORTING
          job_output_options = v_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.
    Here i am getting total transactions is printed properly.. also i want to print total no of pages. (if single transaction more that one page).
    Thanks in advance,..

  • Using standard PO Printing Program for Smartforms

    Hi Experts,
    I am some hiccups coding my print program for a PO Smartform that am currently working on.The requirement was to use the standard print program to trigger my Smartform PO. I have read alot of threads on this, but am still clueless.
    Some says to comment out the functions like "OPEN_FORM" ,"WRITE_FORM" and having your block of codes inside the "NEU_" routine.
    But I noticed, there are even some conditions and logic checking before the "write_form" is called and sometimes the table entries are also cleared. In this kind of situation, how should I be passing the table data to the Smartform function module?By copying the contents to an internal table? And there are many include programs which currently the standard program has, should I be using all that too?
    Appreciate your input and advice on this.
    Thanks very much.

    Hi Neesha,
    Can you check this once
    [Migrating Forms|http://help.sap.com/saphelp_nw04/helpdata/en/9d/9599386185c064e10000009b38f8cf/content.htm]
    Regards,
    Madhu.
    Edited by: madhurao123 on Dec 21, 2011 9:18 AM

  • 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

  • Logo printing issue in Smartform

    Hi,
    I have uploaded company logo and i am using this logo in my Z*PO smart form, during printpreview it is showing correctly (the alignment and resolution), if i print that, the logo alignment is not proper, it is coming down than what i am aligned, the placement is perfect in printpreview.
    Let me know, is there  any other setting that i need to make.
    Thanks,
    Prasad S.

    Hi friend,
    I think there are lot of related post in SDN for this problem. Just search the forum before posting questions.
    One of the similar post i have attached below.
    Link : [Problem with printing logo in smartforms|Problem with printing logo in smartforms;
    I think this will help you. If you still did not get the answer just search in Google by giving the key word "SAP + SDN + Smartforms + Logo printing problem". There are large of solutions to help you.
    Thanks,
    Sri Hari

  • Generating print program for smartform

    Hiii   friends can u plz help me in getting the solution.Here I m giving the details about the requirement.
    1) we have to create a report which consists of alv grid.
    2) Next we have create a smart form & generate print prog for it.
    3) In reports we are placing 2 push buttons i.e (1) print (2) print preview. If we press print button then it should call the form.
    plz help in doing this thank you.
    Moderator message : Spec/requirements dumping is not allowed, show the work you have already done. Thread locked.
    Edited by: Vinod Kumar on Oct 18, 2011 10:44 AM

    CONTROL-preview = ' '.
    CONTROL-no_open = 'X'.
    CONTROL-no_close = 'X'.
    CONTROL-no_dialog = 'X'.
    CONTROL-device = 'PRINTER'.
    OUTPUT_OPTIONS-TDDEST = tdest.
    OUTPUT_OPTIONS-TDNOPRINT = 'X'.
    OUTPUT_OPTIONS-tdimmed = 'X'.
    OUTPUT_OPTIONS-tdnewid = 'X'.   use this filed
    OUTPUT_OPTIONS-tddataset = 'XYZ'.
    CALL FUNCTION 'SSF_OPEN'
    EXPORTING
    output_options = output_options
    control_parameters = CONTROL
    user_settings = ' '
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5.

  • Printing issue in smartforms (Bullets are printed as #)

    Hi Guys,
    I've an issue in printing one of the forms. I'm using bullets in the form and when I see the print preview, i can see the bullets.
    But when I print the document, instead of bullets, I see '#'. Is it something to do with the printer drivers or anything I can do and prevent it.
    Thanks in advance.

    Hi,
    Infact it is a printer issue.
    Please contact the printer incharge to configure the printer so as to print the bullets properly.
    Regards,
    Ram

  • Printing issue for documents more than 10 pages.

    My boss is having a printing issue with larger documents.  They start printing correctly, but then sometimes the font will change to something I don't recognize and can not read.  The computer is running Windows XP Professional.  She was using Adobe Reader 8 something, so I uninstalled it and downloaded Adobe Reader X.  This did not cure the problem.  I next tried uninstalling and reinstalling her printer and that did not fix the problem.  The printer was an HP laserjet 1320.  I replaced this printer with an OKI B411d.  This helped the problem, but did not cure it.  I've attached an example of the script.  Please does anyone have any idea how to fix this problem?

    HI,
    its in the same screen where you'he changed the number of pages. In this screen there are 3 sub-screens:
    1: Display mode
    2: Display area
    3: Save settings, here tick the option you need.
    best regards, Christian

  • Printing issue in smartform with output type

    Hi ,
    I am facing issue while I am taking print from zebra printer.
    I am trying to take a print from MB90 but its not coming but its giving status 'processed' and same from the spool, in spool its showing status complete but not giving any printout.
    if I m attaching  my smartform with another output type which already working for another label(smartform), then its giving print.
    So, what I want to know..
    Its can be a problem with output type config or from basis side.
    Please help.
    Thanks,
    Sandeep

    well i have seen setting are correct but having one issue it doesnt trigger automatically I do it manually from MB90 and rest of the things are correct becaoz i have seen while debug its going correct form from driver program, when i am runniing from MB90 manually .
    Thanks,
    Sandeep

  • Printing Issue in Smartforms

    Hi All
    I have a issue while tryign to print the smartform output.
    I have the company address right alligned , and also the amount field right alligned.
    The smartform is for Taiwan, and uses ZF for the smartstyles.
    I am able to get the correct output in the print preview ie the address and the amount is right alligned(logging in ZF language.)
    However, when a print is done, the output from the printer on the page is not the same.
    The amount field is i nthe centre , and the address is also not alligned properly.
    Could you suggest it there is something specific to be doen for the printer.
    Any pointer on the same would be of great help.
    Thanks
    Pankaj

    Hi pankaj,
                  Just check it with the settings and drivers installed for the printer.get
    help of u r BASIS person.still u have problem.mail back.
    Rewards points if helpful.
    Thanks and regards,
    Rajesh.

Maybe you are looking for