Urgent How to print 4 times?

I one page having 2 labels on it. One main window and and 2 secondary windows. In secondary windows there is template which forms label. If I have 5 item qun. I have to display 5 labels. Applied loop to secondary window but its not happening. How to display label for no. of items times?

Hi,
To display the labels based on number of items create only a single main window and call the script in the loop (based on number of items).

Similar Messages

  • How to print system-time in XML?

    Hi,
       Please help me how to print system-time in XML. Like we use sy-uzeit in ABAP.
    Can we use anything in XML too..
    Thanks & Regards,
    Sai

    hi movilogo
    Please try this.
    Create hidden item P1_DATE
    Create On load process in page 1 and put this code
    begin
    :P1_DATE:=TO_CHAR(SYSDATE,'DD-MON-YYYY HH:MM:SS');
    end;
    Open your region in Page 1 put this code in Footer area
    *&P1_DATE.*
    Refresh your page.
    you will get the output like this.
    16-SEP-2009 11:09:17
    thanks
    Mark Wyatt

  • How to print date & time stamp on photos?

    How to print date & time stamp on photos?

    Three methods:
    File>process multiple files>labels. Be sure to uncheck "same as source", or the originals will be overwritten. It is best to work on duplicate files, esp. while learning.
    Use the horizontal or vertical type tool to add the information manually to each picture file
    If the same information is to be applied to several pictures, e.g. a copyright notice, use  of a brush made in PSE is very efficient

  • How to print out time as hr:min:sec without AM/PM?

    how to print out time as hr:min:sec without AM/PM
    since hr specifies AM/PM. Thank you. My first thought
    is that there exists a formatter to do this. My second
    thought is that if not I can convert the AM/PM in the
    DateFormat.MEDIUM to the right hour.

    import java.text.*;
    import java.util.*;
    public class Test {
        public static void main (String [] args) {
            SimpleDateFormat format = new SimpleDateFormat("HH:mm:ss");
            Date d = new Date();
            System.out.println( format.format(d) );
    }

  • How to print date/time in report page footer?

    Hi
    I have a report which users can print as PDF.
    However, I like to display current date/time in report footer.
    I can see the Page Footer in section but can't figure out how to print date/time there.
    Thanks for help.

    hi movilogo
    Please try this.
    Create hidden item P1_DATE
    Create On load process in page 1 and put this code
    begin
    :P1_DATE:=TO_CHAR(SYSDATE,'DD-MON-YYYY HH:MM:SS');
    end;
    Open your region in Page 1 put this code in Footer area
    *&P1_DATE.*
    Refresh your page.
    you will get the output like this.
    16-SEP-2009 11:09:17
    thanks
    Mark Wyatt

  • How to print date & time in photos

    Thanks for the help.
    I need to print either photos with time and dates in them... or the Bridge contact sheet with date and time info.
    The final printed image will be used in court to photo document evidence.
    Do I have to do a screen capture or is there some other way?
    My camera will not allow me to imprint time and date.
    I'm using CS4 on both Windows and Mac.
    Thanks again in advance for the taking the time to help.
    Dances With Pixels
    I may have sent this twice, but I'm new to this and this is my first time trying to post.

    Thank you for taking the time to respond.  Much appreciated. 
    And will follow up on your suggestions.
    Date: Tue, 10 Aug 2010 23:55:31 -0600
    From: [email protected]
    To: [email protected]
    Subject: How to print date & time in photos
    I think there are (various) Scripts about for that.
    For example addExifDate1.5.jsx:
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1346521
    One should be able to adapt it to include the time.
    You could ask in the Photoshop Scripting Forum or http://www.ps-scripts.com/
    >

  • URGENT: How to print the report to a file

    Hi
    Environment Windows NT/2000 Forms 2.5
    I want to print the output of a particular report to a file.
    When I direct the output to the printer and click on 'print to file' option, it prints to a file but the file is not in a recognizable format.
    I want the report to be opened in excel because it is a tabular report with no graphics.
    How to achieve that. I'm absolutely new to Reports.
    Regards
    Naveen

    Hi ,
    Its quite obvious that you are new to the report, what you are trying to do NOW is that you are trying to output a GUI report to a file , which you cannot , for that what you have to do is change the report layout to characther mode (of course you will not be able to get some gui features, ) but if your intention is to get a output to file , then this is the only way, plus you have to realign your report once you change the format to characther mode
    regards
    rajesh
    Hi
    Environment Windows NT/2000 Forms 2.5
    I want to print the output of a particular report to a file.
    When I direct the output to the printer and click on 'print to file' option, it prints to a file but the file is not in a recognizable format.
    I want the report to be opened in excel because it is a tabular report with no graphics.
    How to achieve that. I'm absolutely new to Reports.
    Regards
    Naveen

  • How to Print Multiples time the same pdf on one sheet

    I see many have asked this question. This can be acheived easuly in the print dialogues. It is applicable for all applications which can open the print dialogue.
    Try the following!
    With the Print window open, make sure that the “Pages per sheet” setting is set to “2 pages” and that the “Page range” value is “Pages: 1,1?
    if your document has 2 pages and you have to print 2 pages in one sheet 2 times, set the Pages per Sheet to 4 & Page Range Value as "1,2,1,2"
    i hope this helps.

    Thx !
    The Ctrl technique worked fined,
    I wished there was a better tool to do this, but it worked !

  • How to Print multiple times in BI Publisher

    Hi All,
    we have a business requirement where we have to print a label report ..
    i have generated the XML CODE..
      <XXLABEL>
      <P_ITEM_CODE>11000046</P_ITEM_CODE>
      <P_RECEIPT_NUM>62119</P_RECEIPT_NUM>
      <P_NO_COPY>2</P_NO_COPY>
      <LIST_G_DETAIL>
      <G_DETAIL>
      <ITEM_NUM>11000046</ITEM_NUM>
      <PO_NUMBER />
      <MSDS_NUMBER>2356989</MSDS_NUMBER>
      <DESCRIPTION>1RING,WEAR-CASE,F/BOOSTER-PUMP</DESCRIPTION>
      <STOREROOM>D01-JAOSB</STOREROOM>
      <BIN_NUM>EC.20.103</BIN_NUM>
      </G_DETAIL>
      </LIST_G_DETAIL>
      </XXLABEL>
    Now using RTF i want to print the xml the number of copies which is passed dynamically ..
    Can any one help me out..

    Hi,
    I am having a similar requirement.
    I need to print the AR customer statement twice for the XML Data.
    I am currently using the for-each@section command, however when I use the <?for-each:xdoxslt:foreach_number($_XDOCTX,1,2,1)?> command to print the report twice, the XML data at the header is empty.
    Could you please let me know how you resolved your issue?
    Thanks!

  • Urgent: how to print the contents displayed in JTextPane

    hi all,
    i've a problem printing the contents typed in styled format in JTextPane, when i print the contents nothing is printed. can anyone tell how can i print the contents typed in styled format or so. the code for implementing the print is given below.
    class ContentsArea extends JTextPane implements Pritable {
       public int print(Graphics g, PageFormat pf, int pi) throws PrinterException {
          if (pi >= 1) {
             return Printable.NO_SUCH_PAGE;
          Graphics2D g2d = (Graphics2D) g;
          g2d.translate(pf.getImageableX(), pf.getImageableY());
          g2d.translate(pf.getImageableWidth() / 2,
                          pf.getImageableHeight() / 2);
          Dimension d = getSize();
          double scale = Math.min(pf.getImageableWidth() / d.width,
                                    pf.getImageableHeight() / d.height);
          if (scale < 1.0) {
              g2d.scale(scale, scale);
          g2d.translate(-d.width / 2.0, -d.height / 2.0);
          return Printable.PAGE_EXISTS;
    }i'd be grateful to all ppl who helps me.
    Afroze.

    What's the exact problem? The printer printing a blank sheet or the printer not doing anything at all? First make sure in the main program you've got something along the lines of...
    import java.awt.print.*;
    PrinterJob printerJob = PrinterJob.getPrinterJob();
    PageFormat pageFormat = printerJob.defaultPage();
    if(!printerJob.printDialog()) return; //not essential but lets the user tweak printer setup
    pageFormat = printerJob.pageDialog(pageFormat); //ditto
    printerJob.setPrintable(this, pageFormat);
    print(...);
    The above code should go in an ActionListener, triggered when the user hits a print button or menuitem. I'm guessing you already have something similar set up.
    Then your print(...) method should be similar to
    public int print(Graphics g, PageFormat pageFormat, int pageIndex)
         if(pageIndex>0) return NO_SUCH_PAGE;
         Graphics2D gg = (Graphics2D)g;
         gg.draw(whatever's going to be printed);
         return PAGE_EXISTS;
    Which it is, although yours has clever scaling stuff built in ) The only thing you're not doing is rendering the actual content.
    So if you want the contents of the textpane, it'd make sense to use something like g.drawString(myTextPane.getContents()); in the print method. Note it's g and not g2d, since Graphics2D has more complicated text handling routines.
    I'm no expert tho )

  • Urgent : How to print (on printer) the output of procedure

    Hi All,
    How can I divert the output or the results to printer.
    Regds
    Rajesh

    By adjusting the location of your fields you can accomplish this.
    If you move your subtotal to the tax calculation header.
    you will end up with your tax amount after the subtotal.
    You can then move the final total with tax to the top of the section.
    Then it will look like you want it to.
    Sub Total <----- Tax Area Header
    Tax Amount <----- Tax Area Footer
    Document Total <---- End of Report

  • [Urgent] How to print Line items Twice in Check Printing ??

    Hi <b>Experts</b>,
    We have got a requirement of printing the vendor invoice info(Line Items) above and below the actual check.
    Eg.
    Page 1
    1-8 Line Items
    Voided Check
    <b>1-8 Line Items</b>
    Page 2
    9-16 Line Items
    Voided Check
    <b>9-16 Line Items</b>
    Page 3 ..... (last Page)
    17-20 Line Items
    Actual Check
    <b>17-20 Line Items</b>
    Now, All the things are printing fine except dual printing of the Line items at the below of Check.
    Please help me..... i am using Check print program <b>RFFOUS_C</b>.
    If anyone can has done something like this before than please send me the code for it.
    If someone requires more clarification, please ask me.
    Regards,
    <b>Abhishek</b>

    Hi Abhishek,
    we have done check printing here. but can u pl tell me why is the line item required to be printed below the check also??
    u must have observed that in the check sapscript ( F110_PRENUM_CHCK), the main window is situated above the check window.. n the line items are coming within the main window...since the line items are dynamic data( not fixed), u have to create a window below the check n that has to be a MAIN window again for it to display multiple data.. so wen ur last page is getting called ( u need to find that out that wen is the last page getting called ), u can insert a write_form for this new main window along with the other write_form( for the earlier main window).
    it can get very complex though as i dont know if this will certainly work...
    is the requirement reaaly to print the line items below the check or anything else will do?? as it wud greatly reduce ur headache...

  • How to Print Multiples time the same psf on one sheet

    Hi,
    I'm looking for the equivalent of rectangular array tool in Autocad, to print recto/verso buisness cards so I could print multiple cards per pages.
    With the multiple tool I just get one card, it doesn't seem to work.
    Thx for your help,
    Matt.

    Thx !
    The Ctrl technique worked fined,
    I wished there was a better tool to do this, but it worked !

  • [Urgent] How to Print Main Window Twice ??

    Hi Everyone,
    I am making a Prenum Check which has
    1 Main Win 00 : Invoiced Item Lines for the Check Payment
    2 Check Window: A Check to be printed
    3 Main Win 01 : Copy of Main Win 00
    The Main Window has Line Items of the Payment Invoices for Vendor, which can flow across multiple pages.So I cannot use NEW-WINDOW. I cannot make the changes in SAP Program. Please help me sorting out this issue with some small PERFORM Code which will copy contents of current main window and print it back in new window on the same page.
    Please Help me....
    Thanks in Advance.
    Regards,
    Abhsihek B.

    HII
    HAVE ALOOK AT THE CODE
    TABLES : KNA1 , T005T.
    SELECT-OPTIONS : S_KUNNR FOR KNA1-KUNNR.
    DATA : BEGIN OF ITAB OCCURS 0,
           KUNNR LIKE KNA1-KUNNR,
           NAME1 LIKE KNA1-NAME1,
           LAND1 LIKE KNA1-LAND1,
           LANDX LIKE T005T-LANDX,
           END OF ITAB.
    DATA : V_LANDX TYPE T005T-LANDX.
    DATA : IT_STEXT TYPE TLINE OCCURS 0 WITH HEADER LINE.
    START-OF-SELECTION.
      SELECT KUNNR NAME1 LAND1 FROM KNA1 INTO CORRESPONDING FIELDS OF TABLE
    ITAB WHERE KUNNR IN
    S_KUNNR.
      LOOP AT ITAB.
    SELECT SINGLE LANDX FROM T005T INTO (V_LANDX) WHERE LAND1 = ITAB-LAND1.
        ITAB-LANDX = V_LANDX.
        MODIFY ITAB INDEX SY-TABIX.
      ENDLOOP.
        CALL FUNCTION 'OPEN_FORM'
         EXPORTING
         APPLICATION                       = 'TX'
         ARCHIVE_INDEX                     =
         ARCHIVE_PARAMS                    =
         DEVICE                            = 'PRINTER'
         DIALOG                            = 'X'
           FORM                              = 'Z50653_PAGE1'
           LANGUAGE                          = 'E'
         OPTIONS                           =
         MAIL_SENDER                       =
         MAIL_RECIPIENT                    =
         MAIL_APPL_OBJECT                  =
         RAW_DATA_INTERFACE                = '*'
         SPONUMIV                          =
       IMPORTING
         LANGUAGE                          =
         NEW_ARCHIVE_PARAMS                =
         RESULT                            =
         EXCEPTIONS
           CANCELED                          = 1
           DEVICE                            = 2
           FORM                              = 3
           OPTIONS                           = 4
           UNCLOSED                          = 5
           MAIL_OPTIONS                      = 6
           ARCHIVE_ERROR                     = 7
           INVALID_FAX_NUMBER                = 8
           MORE_PARAMS_NEEDED_IN_BATCH       = 9
           SPOOL_ERROR                       = 10
           CODEPAGE                          = 11
           OTHERS                            = 12
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        CALL FUNCTION 'START_FORM'
         EXPORTING
           ARCHIVE_INDEX          =
           FORM                   = 'Z50653_PAGE1'
           LANGUAGE               = 'E'
           STARTPAGE              = 'PAGE1'
           PROGRAM                = ' '
           MAIL_APPL_OBJECT       =
         IMPORTING
           LANGUAGE               =
         EXCEPTIONS
           FORM                   = 1
           FORMAT                 = 2
           UNENDED                = 3
           UNOPENED               = 4
           UNUSED                 = 5
           SPOOL_ERROR            = 6
           CODEPAGE               = 7
           OTHERS                 = 8
        IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      LOOP AT ITAB.
          CALL FUNCTION 'WRITE_FORM'
           EXPORTING
             ELEMENT                       = ' '
            FUNCTION                       = 'SET'
            TYPE                           = 'BODY'
             WINDOW                         = 'MAIN'
           IMPORTING
             PENDING_LINES                  =
           EXCEPTIONS
             ELEMENT                        = 1
             FUNCTION                       = 2
             TYPE                           = 3
             UNOPENED                       = 4
             UNSTARTED                      = 5
             WINDOW                         = 6
             BAD_PAGEFORMAT_FOR_PRINT       = 7
             SPOOL_ERROR                    = 8
             CODEPAGE                       = 9
             OTHERS                         = 10
          IF SY-SUBRC <> 0.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
         endloop.
        CALL FUNCTION 'CLOSE_FORM'
       IMPORTING
         RESULT                         =
         RDI_RESULT                     =
       TABLES
         OTFDATA                        =
         EXCEPTIONS
           UNOPENED                       = 1
           BAD_PAGEFORMAT_FOR_PRINT       = 2
           SEND_ERROR                     = 3
           SPOOL_ERROR                    = 4
           CODEPAGE                       = 5
           OTHERS                         = 6
        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'm trying to make a time sheet and include a grid, but I'm having a hard time figuring out how to print a full grid on my spreadsheet.  There are options for shaded grids but I want a defined grid, and I have spent the last 2 hours looking for the answer

    I'm trying to make a time sheet and include a grid, but I'm having a hard time figuring out how to print a full grid on my spreadsheet.  There are options for shaded grids but I want a defined grid, and I have spent the last 2 hours looking for the answer.  Any ideas?

    Hi Cynthia,
    Are you planning to have this table do any of the calculation, or is is to be used as the electronic equivalent of a sheet of paper with a grid printed on it—a place to record the data.
    For your seven column table:
    Are you using one or more rows at the top of the table to label the data below? If so, you might want this row (or these rows) to be set as Header Rows.
    Are you using the leftmost column to label the rows? If so, you may want this column to be a Header column.
    The default table supplied on the "Blank" templates contains one header row and one header column. If you need more (or fewer) Header rows or columns, select the table, then go Table (menu) > Header Rows > (choose the number you need). Repeat to set the number of Header Columns.
    To make a seven column table from the table supplied by default, click on any cell in column H (The eighth column), and drag right to add more cells to the selection, until you get to the last column of the table. With these cells selected, Go Table > Delete Columns.
    To make the remaining seven columns fit across a single page:
    Go View > Show Print View to show the table as it would appear when printed to paper.
    Select the table by clicking its icon in the Sheets List to the left (easy method), OR by carefully clicking on the outside boundary of the table itself (fiddley method).
    With the table selected, you will see square white handles at each corner and at the middle of each side (including the top and bottom).
    With the mouse, grab the handle in the middle of the right side of the table and drag right (or left) until the table just fits onto the width of the defined page.
    With the table still selected, set the thickness and colour of the cell boundaries using the Gaphics Inspector (as described by Jerry), or using the Stroke, Thickness and Color Well controls in the Format bar above the working portion of the Window.
    Regards,
    Barry

Maybe you are looking for

  • Bridge is very slow after installing Photoshop CC

    I just installed Photoshop CC last night and today Bridge is VERY slow. Every folder I open even if I opened it yesterday has to build some kind of an index. Also it keeps crashing it never crashed before.

  • What is the rule about installing SQL server 2000

    I'm a bit confused if which of the two is the best that i can  do: 1. install MS SQL 2000 to R/3 Apllication Box per box or 2. install MS SQL 2000 in 1 box and link the r/3 Applications form it? im using SAP 4.6.c. I dont know what should i do... is

  • BlackBox Instead of Picture when Importing Photos from Nikon D5100

    We had been able to import photos (and HD movies) into iPhoto '11 in versions before 9.4.3 (720.91) from a Nikon D5100 camera SDHC 16GB memory card with no problem. In the current version however (apparently after the latest update to iPhoto '11) aft

  • Access control after telnet

    Hi Pros, I have been thinking and finding solution about how to configure the telent to run a script once user login to linux server vi telnet. the expected result after login are as below, there is a message shown 1.FolderA 2.FolderB 3.Execute C 4.E

  • Issues with start-up

    Intel based Mac was working fine until we moved it to our new house. After taking it out of the box, first time boot was slow and heard a clicking sound but login screen finally came up and it seemed to work fine. Since then, when we power on, we get