Each page to be printed with multiple copies

I have the following requirement:
Each page of a document has to printed in the following way:
at first the page is printed on paper from the standard paper tray
then the same page is printed on special paper from a second paper tray.
The print controls for the paper trays are clear.
The problem is to print each page multiple times
and to feed the paper from different trays for the different copies.
And to get it sorted in that order!
And to get it in one spool item.
Is there a solution with SAP-Script/Smartforms or any other way?

Frank,
Pls look carefully this code which meets exactly your requirement.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
            EXPORTING
              formname           = w_form
            IMPORTING
              fm_name            = w_fmname
            EXCEPTIONS
              no_form            = 1
              no_function_module = 2
              OTHERS             = 3.
          IF sy-subrc <> 0.
            MESSAGE e899(5at) WITH 'Smartform call fails'.
          ENDIF.
          CALL FUNCTION w_fmname
            EXPORTING
              control_parameters = ls_control_param
              wa_vbrk            = wa_vbrk
              wa_adrc            = wa_adrc
              wa_j_1imocomp      = wa_j_1imocomp
              wa_kna1            = wa_kna1
              l_consignee        = l_consignee
              l_name_co          = l_name_co_e
              wa_adrc_l          = wa_adrc_l_e
              l_j_1icht1         = l_j_1icht1_e
              l_grnd_pcs         = l_grnd_pcs_e
              l_grnd_fa          = l_grnd_fa_e
              l_amtsum           = l_amtsum_e
              wa_j_1iexchdr      = wa_j_1iexchdr_e
              l_vbelv            = l_vbelv_e
              l_wadat_ist        = l_wadat_ist_e
              wa_j_1imocomp_l    = wa_j_1imocomp_l_e
              l_name1            = l_name1_e
              l_traid            = l_traid_e
              wa_j_1imocust_l    = wa_j_1imocust_l_e.
FORM set_print_param  CHANGING cs_control_param TYPE ssfctrlop.
  DATA:    ls_itcpo     TYPE itcpo,
           cf_retcode   TYPE sy-subrc,
           lf_repid     TYPE sy-repid,
           lf_device    TYPE tddevice.
  lf_repid = sy-repid.
  CALL FUNCTION 'WFMC_PREPARE_SMART_FORM'
    EXPORTING
      pi_nast             = nast
*     PI_ADDR_KEY         = ' '
*     PI_COUNTRY          = ' '
      pi_repid            = lf_repid
*     PI_SCREEN           = ' '
   IMPORTING
      pe_returncode = cf_retcode
      pe_itcpo      = ls_itcpo
      pe_device     = lf_device.
*      pe_recipient  = cs_recipient
*      pe_sender     = cs_sender.
  IF cf_retcode = 0.
    cs_control_param-device      = lf_device.
    cs_control_param-no_dialog   = 'X'.
    cs_control_param-preview     = xscreen.
    cs_control_param-getotf      = ls_itcpo-tdgetotf.
    cs_control_param-langu       = nast-spras.
  ENDIF.
ENDFORM.                    " set
FORM sub_fill_copy .
  IF w_juri = 'KOLKATA'.
    t_copy-copy = 'ORIGINAL FOR BUYER'.
    APPEND t_copy.
    CLEAR  t_copy.
    t_copy-copy = 'DUPLICATE FOR TRANSPORTER'.
    APPEND t_copy.
    CLEAR  t_copy.
    t_copy-copy = 'TRIPLICATE FOR ASSESSE'.
    APPEND t_copy.
    CLEAR  t_copy.
    t_copy-copy = 'EXTRA COPY'.
    APPEND t_copy.
    CLEAR  t_copy.
  ELSEIF w_juri = 'BEHROR'.
    t_copy-copy = 'ORIGINAL FOR BUYER'.
    APPEND t_copy.
    CLEAR  t_copy.
    t_copy-copy = 'DUPLICATE FOR TRANSPORTER'.
    APPEND t_copy.
    CLEAR  t_copy.
    t_copy-copy = 'TRIPLICATE FOR ASSESSE'.
    APPEND t_copy.
    CLEAR  t_copy.
    t_copy-copy = 'EXTRA COPY'.
    APPEND t_copy.
    CLEAR  t_copy.
    t_copy-copy = 'EXTRA COPY'.
    APPEND t_copy.
    CLEAR  t_copy.
    t_copy-copy = 'EXTRA COPY'.
    APPEND t_copy.
    CLEAR  t_copy.
  ELSEIF w_juri = 'RUDRAPUR'.
    t_copy-copy = 'ORIGINAL FOR BUYER'.
    APPEND t_copy.
    CLEAR  t_copy.
    t_copy-copy = 'DUPLICATE FOR TRANSPORTER'.
    APPEND t_copy.
    CLEAR  t_copy.
    t_copy-copy = 'TRIPLICATE FOR ASSESSE'.
    APPEND t_copy.
    CLEAR  t_copy.
    t_copy-copy = 'EXTRA COPY'.
    APPEND t_copy.
    CLEAR  t_copy.
  ELSEIF w_juri = 'MON'.
    t_copy-copy = 'ORIGINAL FOR BUYER'.
    APPEND t_copy.
    CLEAR  t_copy.
    t_copy-copy = 'DUPLICATE FOR TRANSPORTER'.
    APPEND t_copy.
    CLEAR  t_copy.
    t_copy-copy = 'TRIPLICATE FOR ASSESSE'.
    APPEND t_copy.
    CLEAR  t_copy.
    t_copy-copy = 'EXTRA COPY'.
    APPEND t_copy.
    CLEAR  t_copy.
    t_copy-copy = 'EXTRA COPY'.
    APPEND t_copy.
    CLEAR  t_copy.
    t_copy-copy = 'EXTRA COPY'.
    APPEND t_copy.
    CLEAR  t_copy.
    t_copy-copy = 'EXTRA COPY'.
    APPEND t_copy.
    CLEAR  t_copy.
    t_copy-copy = 'EXTRA COPY'.
    APPEND t_copy.
    CLEAR  t_copy.
    t_copy-copy = 'EXTRA COPY'.
    APPEND t_copy.
    CLEAR  t_copy.
    t_copy-copy = 'EXTRA COPY'.
    APPEND t_copy.
    CLEAR  t_copy.
  ENDIF.
Amit.

Similar Messages

  • I am doing a book.  Can I select the option of 13 photos on a page, put only one photo on the page in the middle box and expect the page to be printed with only that picture surrounded by white?

    I am doing a book.  Can I select the option of 13 photos on a page, put only one photo in the middle box and expect the rest of the page to be printed with only white aroind that photo in the middle?

    No
    All photos frames must contain photos or you can not order the book
    LN

  • Duplex printing of multiple copies of single page

    I really like that the settings for printing are retained so you can leave it set to duplex rather than having to select it each time. Although I do get caught with not resetting the number of copies on occasion. I do a lot of printing and like to conserve paper.
    The problem is when duplex is set and I print multiple copies of a single page, it prints on both sides of the paper. When printing two copies I get one page printed on two sides instead of two pages printed on one side.
    I know the easy answer is reset the duplex setting. But it should print correctly regardless. Has anyone had this problem and found how to deal with it other than resetting duplex?

    If these settings are in the printer driver (which they most likely are) then you'd have to contact the driver manufacturer. Perhaps there are multiple "double-sided" settings. For instance, if there is "duplex" as one option and "two-sided" as another option in the driver, then perhaps one indicates all copies will be printed double-sided even on the same page (as you're experiencing), whereas the other would print multiple two-sided copies. This, however, is very driver-dependent behavior. I'd recommend checking to see if there's an update available for your printer driver that might either clear the problem or provide a clearer option setting for the print jobs.

  • Problems with multiple copies of each photo

    I'm relatively new at using Photoshop Elements and when I was moving my photos from my old computer to my new one using an external hard drive I got multiple copies when I uploaded them to my new computer. How do I avoid this?
    I think that I had the same photos in diffrent files on the external hard drive and thus got them four times on my new computer. Do I need to sit and erase them by hand(it's 13 000!!) or what do I do. I cann't just let them be, they take up way too much space on the computer.
    How do I do not to make the same mistake again the next time I need to move them?
    This probably is a silly problem when you are used to the program but we are all beginners some time I guess! Hope you can help me...

    You can stack the duplicate images and delete the stack.While deleting the stack, application asks which photos present in the stack you need to delete. The stack can be formed from automatically suggest stacks and then you can stack them at one place. You can try this thing first with a small group of images.

  • Print out multiple copies for next page in sapscript

    Hi All,
              For  check printing the client wants the next page with item data to be printed out twice, while the first page along with the check will be printed out on a pre-printed paper. Can anyone advice me on this.

    hi,
    IF &PAGE& EQ 1
      "do write what all you need to print in First page
    ELSE
      "write what all necessary you want to print from second page onwards..By this first page will not print in Second Page
    ENDIF.
    IF &NEXTPAGE& EQ 0
      "This Means it is last Page write footer or any comments in Last Page
    ENDIF.
    Prabhudas

  • Page break for Smartform with multiple main window on pages

    Hi Experts,
    I have a requirement for printing 3 pages. The difference among the 3 pages is the main window part.
    The main window contains not only internal table, also complicated texts like payment instructions etc.
    The requirement is in each page, the data in internal table should be changed, also payment instruction should be changed accordingly.
    e.g:
    Main Window of Page 1
    Part 1 for Internal table
    VAT on ITEM ------- 4O-------60,00------0.00%-------EUR
    Part 2 for Payment Instructions
    Texts for Page 1
    Main Window of Page 2
    Part 1 for Internal table
    VAT on ITEM ------- 5O-------60,00------0.00%-------EUR
    Part 2 for Payment Instructions
    Texts for Page 2
    Main Window of Page 3
    Part 1 for Internal table
    VAT on ITEM ------- 6O-------60,00------0.00%-------EUR
    Part 2 for Payment Instructions
    Texts for Page 3
    At first, I was using only one page 'Page1' with a variable page_no = 1 as default value, and use program line page_no = page_no + 1 as counter. when page_no = 2, use command for force page break to 'Page1', then under the command, change the internal table and payment instruction texts. when page_no = 3, ...
    But I encountered an error saying:
    Runtime Errors         GEN_BRANCHOFFSET_LIMIT_REACHED
    Short text
         Jump distance is too large and cannot be generated.
    So I created 3 pages, with different main window M_window1, M_window2, M_window3 for each page. In page1, after printing the M_window1, page_no = 2, use command to go to page2, but page2 is never printed. I think this is because only one main window can exist in a smartform? but why smartform allows creating individual main window for different pages? what's the use of such main window?
    By the way, what's the use of command for force page break? only work for one main window in a smartform?
    Getting back to my requirement, I think I should still use one page and command for page break. I am trying to solve this.
    Thanks.
    Li Jun Da.

    Now I am using 3 pages: Page 1, Page 2, Page 3.
    Page 2, Page 3 are copies of Page 1 with main window renamed as second window: mw 2, mw 3.
    I also created 2 command nodes in main window of page 1: cmd 2, cmd 3.
    cmd 2 is for page break to Page 2, cmd 3 is for page break to Page 3.
    The second window mw 2, mw 3 in Page 2, Page 3 can be displayed.
    Even though, I still can't understand how main window of pages (not 1st page) can work.

  • Page Numbering when printing a multiple sheet document

    I moved this post from Pages after accidentally posting it there earlier...
    In considering an approach to solving a problem posted earlier today I thought about using the Continue (Page Numbers) from Previous Sheet setting in the Sheet Inspector to display a sequence of numbers on a series of sheets. All looked good on the live document, but when Printing to PDF or Exporting to PDF, I get the same first page number on each sheet. Further, the number on that first page depends on which Sheet was selected when I did the export. All pages and sheets print/export, it's just the page numbering that seems anomalous.
    Let's say I have a document with three two-page sheets. On the live document, page numbers are 1 and 2 on the first sheet, 3 and 4 on the second sheet, etc. Just what I would expect. When printed to PDF or exported to PDF, I get 1,2,1,2,1,2 or 3,4,3,4,3,4 or 5,6,5,6,5,6 depending on which sheet is selected as I begin the export or print dialog.
    Any one else seeing this? Is there a logical explanation for it? This is on a MBP with Snow Leopard. I haven't tried printing to paper to see what happens there.
    Jerry

    Hi Jerry,
    Not the same results, but I did get weird ones.
    Using iBook & OS X 10.4.11.
    Three two page sheets, each with a single table. Sheet 2 and sheet three produced by Duplicating Sheet 1.
    Live display shows pn/pc as
    1/6, 2/6, 3/6, 4/6, 5/6, 6/6
    Preview (sheet 3 selected), created by clicking preview button in Print dialogue, shows
    1/6, 2/6, 3/4, 4/4, 5/6, 6/6
    Preview (sheet 1 selected) shows same as above.
    Preview (sheet 2 selected) shows same as live.
    1/6, 2/6, 3/6, 4/6, 5/6, 6/6
    Repeating print to preview with s2, s1, s3 selected gives correct results each time.
    Regards,
    Barry

  • Time Machine backup fills with multiple copies of files

    I bought a 500 GB external drive, which I backed up iPhoto (34 GB), iTunes (61 GB) and some other large files using Time Machine. Using 'Disk Inventory X', I can see that the Time Machine backup drive is filled with 12 separate copies of my entire iPhoto library, iTunes libraries, Windows XP and other large files. Is there any setting I can set to technique to use to make it more efficient? My 500 GB gives only three days of backup!

    Same answer as to your other post:
    Doubtful. Something else is going on.
    Most likely, that's not what you're seeing.
    What appear to be duplicate files and folders are actually "multi-links" (sort of like fancy aliases) that look like multiple copies of the same things.
    To find out what's really going on, download the Time Machine Buddy widget from: http://www.apple.com/downloads/dashboard/status/timemachinebuddy.html. It shows the messages from your logs for one TM backup run at a time, in a small window. The somewhat-cryptic messages will show roughly how much was copied on each backup.
    Also download the TimeTracker app, from www.charlessoft.com.
    It shows most of the files actually saved by TM for each backup (excluding some hidden/system files, etc.).
    If you find the same files being saved again, even though they weren't changed, post back, and include the results from the widget for that particular backup. Then we can figure out what's really going on.

  • After downloading music and dragging into iTunes I end up with multiple copies of the album on my hard drive. I do have the "copy files into iTunes library" checked. When I try to erase one of the copies I end up with red ! in iTunes library.

    Please Help!  After downloading an album and dragging it into itunes I end up having multiple copies of the album on my hard drive.  I do have (under Itunes preferences, advanced) copy songs into itunes library "checked".  I'm sure this is the reason for the multiple copies.  When I try to delete one of the copies of the album and go back to itunes and try playing a song, I get a red exclamtion point next to the song with an error message saying itunes cannot locate file. My questions are, Does Itunes literally make a copy of the song? If so , How do you know which file to delete?

    Sony's own entertainment software on the Vaio plays merry **** with iTunes, worse there's no telling when it will kick in.
    First head over to the Sony Vaio site and get the update for the software, that will stop it from messing with the iTunes database/library files when you connect your iPod.
    http://support.apple.com/kb/TS2715
    http://esupport.sony.com/US/perl/swu-download.pl?mdl=VGNP588EQ&updid=4526&osid=28
    With that stopped you can add the music back without fear of this happening again.

  • Printing a new format page in Matrix Printer with the SAPWIN Device Type...

    Hi,
    The requierements is to print Identification Material Labels with an Epson DFX-8500 printer. The label font is TIMES 34, therefore the Printer Device Type is SAPWIN. The real throuble is that label size (Format Page) doesn't exist.
    I created a New Format Page but when a print the Materlal Label (SAPSCRIPT), the SPAD configuration isn't recognized. I need an Height of 432 PT (Like INCH6 because the paper is continuous form) isn't recognized.
    Could somebody help me???
    Alexis Sánchez N.
    SAP ABAP Development Consultant
    << removed >>
    Valencia, Venezuela
    Edited by: Rob Burbank on May 25, 2010 3:56 PM

    Hi all,
    I solved myself... This is the way...
    I have an Epson Matrix Printer (Epson DFX-8500)
    In SAP, I created the Epson DFX-8500 Printer with the device type SAPWIN. This printer have some attributes in windows operational system (Windows XP). One of this attributes is the default paper size (Letter).
    To change this, you have to do what the SAP Note 163136 (Creating new paper size for Windows NT-2000-XP-2003) says:
    Solution
    Note: This note is based on Note Q157172 from the Microsoft Knowledge Base.
    You create a new paper size this way in Windows NT:
    1. Choose 'Control Panel' and double-click 'Printer'.
    2. Select 'Server Properties' in the 'File' menu.
    3. Select the 'Create A New Form' check box on the 'Forms' tab page.
    4. Enter the settings for the new paper size.
    NOTE : If you set up your own customized paper size, the margins
    cannot exceed the settings of the installed printer. The print area
    must correspond to the margin settings of the printer driver used.
    5. Save the paper size.
    Proceed as follows to use the new paper size as the default format:
    1. Select 'Printer' in the 'Control Panel'.
    2. Click the right mouse button to select the required printer and select
    'Document defaults'.
    3. Select the new paper size in the 'Paper Size' selection box (on the
    'Advanced' tab page).
    4. Click OK.
    5. Again with the right mouse button click the required printer and
    select 'Attributes'.
    6. Open the 'Device Settings' tab page and select the paper tray from
    which you should print. Then select the new paper size.
    NOTE: New paper sizes are stored on the computer on which they were
    created. If you create a new paper size for a shared printer, you must
    create the new paper size on the printer's print server.
    NOTE : In Windows XP, there is an error in this procedure that can be
    corrected with Note Q838298 from the Microsoft Knowledge Base.
    I hope it helps you...
    Alexis Sánchez N.
    SAP ABAP Development Consultant
    Valencia, Venezuela

  • Prints unwanted multiples copies

    Printer: Officejet 6500 (wireless network connection)
    OS: Windows 7
    Sometimes when I send a job to the printer it prints multiple copies.
    It is totally random and I haven't been able to determine a pattern. It happens from different programs, but not always.
    As an example last week I came to the HP site and saw the notice about the forum today. I decided to print it to have as a reminder and I stoped the printer after 3 copies.
    Usually it prints 2, but sometimes 3 - and of course, sometimes just 1.
    I have check to make sure that when sending the order to print it only says one.
    Any ideas?
    Thanks

    Have you tried the solutions on this thread?
    regards, CF
    I work for HP and hope to make your day Sproutastic!

  • Different contents in PLD document with multiple copies

    We are using PLD for our reports for eg. to make a set of CASH SALE  document(AR invoice+payment) with 3 copies.
    However, we do want the original copy not to show some of the contents in the 2nd copy and 3rd copy
    as this will be given to the Customer. How do we hide these contents not to show in the customer copy but to show in other copies?
    Regards
    Asif

    Thank you for your response.
    We have used the CopyNumber() function but how do we link a field so that it appears in two or more copies. For example, in AR Invoice + payment report having 4 copies, we have a transporter refno field which we would like to appear on copies 2 and 3 only. Is there any option to combine the formulae field having the copynumber() function so that it links to copy 2 and 3 only?
    Thanks

  • Connecting MG3570 printer with multiple MAC books

    I connected MG3570 printer with my Mac book wirelessly. Everything fine till my son also connect the printer with his Mac book. My computer can not connect so I started set up again and connect it. Then my son can not connect again. What should we do to be able to connect all Mac books to printer? thanks

    You might want to look at this article on troubleshooting Mag Safe adaptors:
    http://support.apple.com/kb/TS1713
    Check for things like stuck pins.
    Also, be sure that you are not mixing up the MacBook charger (65 watts) with the MacBook Pro charger (85 watts). The MBP charger should be able to charge the MB, but not the other way around.
    If the charger is good and the battery and its connections are good, then it is possible that the Left I/O Board (which contains the power port) is bad.
    For the battery to charge, three things have to be working--the charger, the battery, and the Left I/O Board. If you have access to an Apple Store, the genius bar should be able to try a known good battery and a known good power adaptor and be able to pinpoint what is really at fault.
    Good luck!

  • Print Report with multiple copies

    i have an one page report called Receipt voucher which is in
    format of form. I have an query. I have to take four prints of same report. but the problem is that if i take print of 1st copy it should appear on report like origional-Customer,2nd time- Accounts,3rd time - Sales Dept., and 4th time Book copy.so is there any logic from which i can do this.
    Plz help me How can i Do this?

    Hi Paromita,
    If I understand your problem correctly then, here is the summary of your problem -
    a) There are multiple tabs on selection screen. Out of which the first tab has a mandatory field i.e., Material Number. And then there are other tabs.
    b) So, unless and until you provide the value in first tab for the material number(which is a mandatory field), you cannot navigate to the second tab or any other tab for that matter.
    So, ideally the second and rest of other tabs are mutually dependent on the first tab's information as it has a mandatory field. Unless and until you make the first tab inactive it will not let you enter data in the second tab and so on.
    So, to ideally enable input in second tab, make the first tab inactive. Try this and let me know if it works.
    BR,
    Ravi

  • Command line render "-reuse" flag with multiple copies of afterFx.exe

    The question is, can i use "-reuse" flag to start rendering with more than one copy of afterFx.exe ?
    //OS Windows 7
    If i start
    aerender.exe -project c:\projects\project_1.aep
    I have to wait about 15 seconds until the After is started and only then start rendering.
    But I can start the After in advance.
    Start
    aerender.exe -project c:\projects\project_1.aep -reuse
    And then render will begin immediately.
    Unfortunately one copy of After effects does not use the power of my computer at 100%. // I need about 5 copies.
    So I tried:
    Execute in command promt:
    AfterFx.exe -m -noui
    AfterFx.exe -m -noui
    AfterFx.exe -m -noui
    Then execute:
    aerender.exe -project c:\projects\project_1.aep -reuse
    aerender.exe -project c:\projects\project_1.aep -reuse
    aerender.exe -project c:\projects\project_1.aep -reuse
    But only the first copy of AfterFx was used. The following two commands of aerender  have launched a new copies of AfterFx.
    Any ideas?
    P.S. I know about the "-mp" flag, it is not a solution.

    I know on the mac side you can send a system command to have "aerender" launch a render in Terminal. Same as Lloyd's BGRenderer script, without all the nice features of course. If you are rendering an image sequence, you can launch a render multiple times and it will begin to use more of the available resources, skipping frames already in process by the other processes. It will take a toll on your computer if you launch too many at once, but I've had at least three or four of these going for one render before.
    The system command is (OS X based):
    /Applications/Adobe\ After\ Effects\ CS6/aerender -project /Volumes/Projects/Lazarus/Project\ Files/AE_Projects/Shots/023_010A1/AE_Projects/023_010A1.aep -sound "on"
    BREAKDOWN
    Path to aerender (spaces are escaped with a backslash):
         /Applications/Adobe\ After\ Effects\ CS6/aerender
    Project flag and then path to aep file:
         -project /Desktop/myShotToRender.aep
    Sound flag to have it "ding" on completion:
         -sound "on"

Maybe you are looking for

  • Best practice for lazy-loading collection once but making sure it's there?

    I'm confused on the best practice to handle the 'setup' of a form, where I need a remote call to take place just once for the form, but I also need to make use of this collection for a combobox that will change when different rows in the datagrid or

  • IOS 5.1.1. update bug (Volume Control)

    This thread concerns IOS 5.1.1. update and the subsequent loss of volume button functionality and use of internal speakers. Please can someone help from the mac team! It's not a jailbreak phone. only purchased in early April on O2. Updated to 5.1.1.

  • Problem with Discoverer Workbook in Purchasing Intelligence menu

    Hello We have implemented out-of-the-box Purchasing Intelligence (PI) that comes with the Oracle e-Business Suite. There is only one Discoverer Workbook - 'Contract Savings Analysis' workbook which cannot be accessed from the Applications. This workb

  • Automation with labview - Frequency Measurements

    I'm trying to automate capturing resonance of a material. My current setup is this: I have a plate with magnets attached to a material. There are coils around the magnets. I have an accelerometer attached to the plate I have a sony 5 channel amp that

  • Connecting to mail

    have a 4 month old itouch 64g. When i open mail it logs staright out again after 3 seconds back to the main menu. Driving me crazy. Tried restarting the mnachine but no solution. Help Please.