Skip to Content
author's profile photo Former Member
Former Member

REGARDING SCRIPTS

Hi All,

what are the labels in scripts.

Thanks&Regards,

phani

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 25, 2007 at 06:45 AM

    Hi

    Labels are the small sticker say the address stickers which you will put on the envelops which carries the mails to customer.

    To create the lables you need to create as many main windows in one page restricted to 100 main windows. Put your code in the text elements of the main window. You will need to put code only in one window's element. Because the text are attached at the window level, not at the page window level.

    To create labels in SAPSCRIPT, you will have to define multiple MAIN WINDOWS in the Page Window.. try the following steps..

    Main windows in page windows allow you to format text in multiple columns. Define an area in the page window, in which to position the main windows.

    1. Create a page window and assign it to a page.

    2. Choose Edit --> Main windows.

    A dialog box appears.

    3. Enter values in the fields Area width and Area height in accordance with the input guidelines for main windows.

    4. Enter values in the fields Spacing and Number in the Horizontal group if you want to use multiple columns. You can ignore the fields in the Vertical group.

    5. Determine how many columns and line areas are required for label printing. Then enter the corresponding values in the fields in the Horizontal and Vertical groups.

    Also Check these links.

    how-to-create-labels-in-sap-script

    labels-in-script

    labels-in-scripts

    <b>Reward if usefull</b>

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 26, 2007 at 05:30 AM

    hI

    Labels are the small sticker say the address stickers which you will put on the envelops which carries the mails to customer.

    To create the lables you need to create as many main windows in one page restricted to 100 main windows. Put your code in the text elements of the main window. You will need to put code only in one window's element. Because the text are attached at the window level, not at the page window level.

    what is label format?

    The design of a bar code label; the arrangement of the text, lines and bar codes on a label.

    Editing data labels format.

    Select on the data label you want to change.

    A small black box appears on either side of each of the data labels in the data series.

    Click on the data label again.

    A small black box appears at each of the four corners of the data label.

    Click on the data label a third time.

    A vertical cursor appears. You can move the cursor using the arrows and can edit the text.

    Aligning data labels

    Double-click the data label.

    Choose Alignment.

    Select the required Text alignment and the Orientation.

    Positioning data labels

    Double-click the data label.

    Choose Alignment.

    Select the required Position.

    Specifying the number format of data labels

    Double-click the data label.

    Choose Number.

    Select the required number format.

    Specifying the text format of data labels

    Double-click the data label.

    Choose Font.

    Select the required text format.

    Specifying the border and fill attributes of data labels

    Double-click the data label.

    Choose Pattern.

    Specify the border and fill attributes.

    For creating the Label in Sapscript first you have to install ZEBRA software on your PC for printing Label.In that ZEBRA software you can create your Label as per your requirement.In that only you can generate .lbl and .itf file for that label that you have created.Some code in ZPL language will be generated in that itf file.You have to copy these ZPL codes in your sapscript.Now when you will execute this Sapscript form your Label will be created.

    http://help.sap.com/saphelp_sm32/helpdata/en/80/27ccf7e4698449b0f175e39c36c0b1/content.htm

    http://www.datamaxcorp.com/_assets/library/pdf/sap_91803.pdf#search=%22LABEL%20PRINTING%20IN%20SAP%22

    We use it to create bar code labels.

    To create labels in SAPSCRIPT, you will have to define multiple MAIN WINDOWS in the Page Window.. try the following steps..

    Main windows in page windows allow you to format text in multiple columns. Define an area in the page window, in which to position the main windows.

    1. Create a page window and assign it to a page.

    2. Choose Edit --> Main windows.

    A dialog box appears.

    3. Enter values in the fields Area width and Area height in accordance with the input guidelines for main windows.

    4. Enter values in the fields Spacing and Number in the Horizontal group if you want to use multiple columns. You can ignore the fields in the Vertical group.

    5. Determine how many columns and line areas are required for label printing. Then enter the corresponding values in the fields in the Horizontal and Vertical groups.

    Also Check these links.

    how-to-create-labels-in-sap-script

    labels-in-script

    labels-in-scripts

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 26, 2007 at 05:37 AM

    hi

    phani

    You want to print labels (such as shipping or bar code labels) on a special printer. You can create a label using an external design program and then print it from a SAPscript form.

    Prerequisites

    Most special label printers available on the market use their own control languages for which there is no printer driver in the standard SAP system. To be able to address these label printers nevertheless from the SAP System, you can define the complete layout with an external program.

    Activities

    ...

    1. Creating the Label with a Design Program: Define the complete layout of the label, including the fields that are later filled from the SAP System.

    2. Download the Print File: Export the file with the print command from the design program. The printer commands must be in ASCII format; that is only printable characters and CARRIAGE RETURN, LINEFEED, and possibly FORMFEED can be contained. The file must also not have more than 80 characters per line, as otherwise undesired line breaks could occur during the upload. Binary control characters (such as ESCAPE) must not be included. (For more information about the download, see the sections listed below for the relevant label printers).

    3. Upload the Print File to the SAPscript Form: Upload the print file to a SAPscript standard text. However, this standard is only used as a temporary store. Copy the text to a SAPscript form. In the form, enter variables of the print program (program symbols) in the places where data should appear in the label. These variables are filled with the current field values from the application program during runtime. (For more information about the upload, see the sections listed below for the relevant label printers).

    4. Adjusting the form: You now need to adjust the label for most label printers, for example, you must increase the MAIN window to the full page size and close all other windows. The MAIN window should also only contain a single text element; that is, the imported print file.

    5. Creating an Output Device: Define an output device for label printing. You can use either ASCIIPRI or a special device type for label printers as the device type.

    For important details about label printing and links to descriptions of individual label printers, such as Avery TTX 450, CAB Apollo 2, Intermec Easycoder 501 XP and many others, see SAP Note 135894 in the SAP Service Marketplace.

    regards

    Nagesh.Paruchuri

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.