SMARTFORMS number of copies

Hello.
I'm producing a simple smartform from MIGO (good receipt).
In the initialization of the smartform I'm setting the fields output_options-tdcopies to 2 in some cases.
I can see in debug mode that this value is being perfomed correctly.
Although - when the print windows appears, it shows the default value for number of copies "1".
How come ?
Thanks.

Hi,
Do you use Frontend printing?
If so, ensure that the option "use_copies" is set to '0' in the resgistry of the Frontend PC as described in SAP Note #1149136.
Regards,
Aidan

Similar Messages

  • Change number of copies in smartforms

    I am trying to change the number of copies in my smartform.  In the print program I am setting the number of copies in OUTPUT_OPTIONS-tdcopies.  When the pop-up comes up, the user changes the number of copies, but that number is not updated in OUTPUT_OPTIONS.  I am doing things inside of the smartform based on the number of copies so I need the updated amount.  Any help is greatly appreciated.

    hi,
    The number of copies of an output is populated in the field NAST-ANZAL. The masterdata for the number of copies is maintained in NACH-ANZAL for any sales related transaction. The table NAST is however applicable irrespective of application.
    You can pass on your data to this field (NASST-ANZAL) for your reqmt.
    regards,

  • SmartForm: Number of copy in main window

    Hi.
    I have got a problem.
    I like display the number of copy (Original, Copy One, Copy Two... etc), in main window.
    I only can control this in a "copy window", and I change the valor of a variable (l_number = sfsy-copycount).
    BUT the valor of this variable in the main window is always the numbers of copys, not the number of the actual copy.
    How can control in a MAIN WINDOW the number of the actual copy?
    Thanks very much!

    Hi
    Each copy is a different print because you need to print a different descriptions, so you can't manage it by inserting a number of a copies you want to print in the dialog. This parameter indicates how many time the <u>SAME PRINT</u> has to be printed.
    If you need to print several copy and write a different description for each copy I believe you should run your smartform for N times, where N is the number of copies.
    DO COPIES TIMES.
       CALL FUNCTION <SMARTFORM>
           EXPORTING
             COPY         = SY-INDEX
    ENDDO.
    So in your smartform you can check the parameter COPY and print the description in according to its value.
    Max

  • Hide Number of copies in Print Dialog box

    Hi All,
    I have a requirement in smartform wherein i have to disable the area where we enter number of copies in the Print dialog box, which comes when we execute the program.
    In the print dialog box we usually enter the output device and can choose various options in Spool Control, Number of Copies, etc.
    So here my requirement is that even if user enters more than 1 in Number of copies, in the output it should take only as 1.
    Kindly let me know how to do this..
    Thanks,

    Hi Ashwani,
    You need to do an implicit enhancement for this requirement.
    Program : SAPLSTXBC
    Include : LSTXBCFOP
    Form : PBO_FRONTEND
    Code  :
    LOOP AT SCREEN.
      IF SCREEN-NAME = 'SSFPP-TDCOPIES'.
       SCREEN-INPUT = '0'.
       MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    Regards,
    Lohit

  • Unable to print number of copies on label printer

    Hi Everyone,
    I am able to print smartform any number of copies on standard printer.
    But when I change from standard printer name to Label printer name and execute the smartform with number of copies ( greater than 1 ).
    For label printer I am able to print only one copy, irrespective of number of copies specified. However I can able to number of copies specified for standard printer.
    Can anyone help me what could be the reason? Is that any settings should be done for label printer ?
    Thanks.
    From
    Reddy

    Paddy,
    Welcome to Apple Discussions.
    The problem might be a corrupt preference. Does this problem occur with all applications? If not, which application?
    Try Repair Disk Permissions using Disk Utility.

  • Is there a limit to the number of copies you can make at one time.

    I was in the process of making 20 copies of my video, I manage to get 8 copies when my computer said it had to turn off due to an error.  Now I am unable to make copies because that same message keeps appearing.

    dialbarclay
    What version of Premiere Elements are you using and on what computer operating system is it running?
    What are you making copies of..... burn to DVD, Blu-ray, or AVCHD and presumed in the Premiere Elements 11 Publish+Share/Disc/ with number of copies indicated in the burn dialog?
    In the past, making disc copies by that process was a hit or miss proposition. If I were you I would consider making exact copies using the software that came with your Blu-ray DVD burner. or DVD/CD burner.
    Is your computer optimized?
    ATR

  • ABAP Forms - Number of Copies

    Hello,
    I am having problems with a form that I created in SAP.  The form is for a barcode label.  The only contents of the form is a text include and a call to an external report that pulls in data.  When I call the form from a program that I wrote it always prints two copies.  However when the form is called via MIGO, it only prints one copy.  Does anyone know what could cause this?  I have looked at the number of copies field in the itcpo that I pass the OPEN_FORM function routine.  Any help would be appreciated

    Hi Ryan,
            Since you are getting two copies of same output, right. I suggest you to run the program in debug mode to see what actually happens during run time. Check simultaneously the way the program runs and the status of the list where the contents gets printed. You may come up with a solution. For debugging check this thread...
    Re: DOCUMENT_NOT_FOUND
    Hope this helps.
    Kindly, Reward points if it helps by clicking the star
    in the left hand side of the screen.
    Regards,
    Maheswaran.B

  • Acrobat 9 Pro - Print Number of Copies

    At times I want to print to paper 2, 3, or 4 copies of the same document.  With the printer window opened, it allows me to select the quantity, but when I click OK to proceed to print I received another popup window reading:
    The printer cannot support this many copies.
    Number of copies will be set to printer maximum of 1.
    What/Where/How do I find the setting to resolve this issue?
    VAIO NOTEBOOK
    MS WIN VISTA HOME PREMIUM SP2
    MS OFFICE 2007 SP2
    ADOBE ACROBAT 9 PRO (9.1.1)
    BROTHER MFC 9800
    Adobe Tech Support REFUSES to provide any support for my 1-month old AUTHENTIC, activated and registered product !!!

    Bill...  do not misunderstand my words as your views are not my intentions.  Take into account, there is a difference between asking the OP, "Have you checked the Print Drivers", and or, "If so, what did you learn?"; rather than telling the OP what the issue is before all facts are gathered, then becoming defensive or insulted.
    Example:
    I am cooking.  I taste the food and say, "Something doesn't taste right.  You say, "You didn't add salt".  I respond, "I did, it's not salt, it must be something else".  Instead of asking first if I added salt, or offering another suggestion, you are insulted and or become defensive.  Case in point.
    I hope this cleared up your unjustified comment.
    Back on subject:
    I posted the screen-shot on the fly and first time using this forum and its UI.  When it is clicked on, it expands (as you saw).  After it expands.  Change the "Zoom Level" on your screen to find the correct resolution.  Hint - It tells no more than the words in my original post.
    Thanks for your help.  I'm going to sleep before the sun comes up.  Have a happy Sunday.

  • I need to print with a number of copies set

    Hi im trying to print with number of copies set but it dosent work.. I tried it on 3 different printers.
    It only print 1 copie when i say 2 or 3 or 4...
    (aset.add(new Copies(2)); )
    Is there something missing in that code...
    thanks
    Here is my code.
    import java.io.*;
    import javax.print.*;
    import javax.print.attribute.HashPrintRequestAttributeSet;
    import javax.print.attribute.PrintRequestAttributeSet;
    import javax.print.attribute.standard.Copies;
        public class Print {
            public static void main(String[] args) {
                try {
                    // Open the image file
                    InputStream inputStream = new BufferedInputStream(new FileInputStream("c:\\coupon.txt"));
                    // Find the default service
                    DocFlavor flavor = DocFlavor.INPUT_STREAM.AUTOSENSE;
                    PrintService service = PrintServiceLookup.lookupDefaultPrintService();
                    PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
                    aset.add(new Copies(2)); // Dosent work only 1 copie is printed
                    // Create the print job
                    DocPrintJob job = service.createPrintJob();
                    Doc doc = new SimpleDoc(inputStream, flavor, null);
                    PrintJobWatcher pjDone = new PrintJobWatcher(job);
                    // Print it
                    job.print(doc, aset);
                    // Wait for the print job to be done
                    pjDone.waitForDone();
                    // It is now safe to close the input stream
                    inputStream.close();
                } catch (PrintException e) {
                    System.out.println(e);
                } catch (IOException e) {
                    System.out.println(e);
        }

    Same problem here. I have found hundreds of questions in several places, but no answer.
    Problem is that when I set the copies, PrintServiceLookup.lookupPrintServices returns no results.
    Please help.

  • How to ask for a number of copies in Finder Print?

    How to ask for a number of copies in Print Finder Items? Thanks.
    iBook G3 700   Mac OS X (10.4.8)   Still running a paperless office on my iBook! 120gig, 640RAM, 1440 x 900 2nd monitor! 500gig FW-HD!

    Here is a script that will create a "Run AppleScript" action in Automater that should do what you want. Just click on the link and hit the Run button in Script Editor.
    I wanted to get this too you fast so there is no error checking on the text entered into the dialog. Let me know if you want it added.
    click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">
    tell application "Automator"
    make new workflow
    -- Action 1
    add Automator action "Run AppleScript" to workflow 1
    set value of setting 1 of Automator action 1 of workflow 1 to "on run {input, parameters}
    tell application \"Finder\"
    activate
    set theFiles to input
    display dialog \"How many copies do you want\" default answer \"1\"
    set NumberOfCopies to text returned of the result as integer
    end tell
    repeat with aFile in theFiles
    repeat with j from 1 to NumberOfCopies
    tell application \"Finder\" to display dialog \"Printing copy \" & j & return & aFile giving up after 2
    tell application \"Finder\" to print aFile
    end repeat
    end repeat
    return input
    end run"
    end tell</pre>
    PowerBook 12"   Mac OS X (10.4.8)  

  • Number of copies with setCollated does not work if PageRange is not set

    I have a report which results are printed on 2 pages. If i set PrintReportOptions like below:
    PrintReportOptions printOptions = new PrintReportOptions();
    printOptions.setPrinterName( targetPrinter );
    printOptions.setNumberOfCopies( 2 );
    printOptions.setCollated( true );
    printCntrl.printReport( printOptions );
    I get ONLY one copy, other pages are not printed.  So instead of getting 2 x 2 pages with order 1,2 1,2 i am getting only 1,2 so it seems that number of copies is not interpreted.
    When i  add a setup of a page range - everything works as excepted.
    PrintReportOptions printOptions = new PrintReportOptions();
    printOptions.setPrinterName( targetPrinter );
    printOptions.setNumberOfCopies( 2 );
    printOptions.setCollated( true );
    PrintReportOptions.PageRange printPageRange = new PrintReportOptions.PageRange( 1,  2 );
    printOptions.addPrinterPageRange( printPageRange );
    printCntrl.printReport( printOptions );
    But how can i find on how many pages report will be printed? - it's impossible. I thought that maybe i can set 100 as the upper limit of range but this doesn't work. The page range must be less or equal to the number of pages on which report will be printed.
    When I am not using method setCollated or use it with false  report is printed on desired number of pages and with expected amount of copies.  ( in order 1,1 2,2 ) . Here is the code:
    PrintReportOptions printOptions = new PrintReportOptions();
    printOptions.setPrinterName( targetPrinter );
    printOptions.setNumberOfCopies( 2 );
    printOptions.setCollated( false );
    printCntrl.printReport( printOptions );
    I suspect that this is a bug of CR Java runtime. If so, when we may expect that it will be fixed?

    Hello.
    I tested with the latest version of the Crystal Report runtime libraries (version 12.2.211) and it works for me as expected.
    What I would suggest is that you test your application using the latest version 12.2.211 and see if this resolves the problem.  Since it works for me on this latest version, I would expect that it would work for you as well.  The latest version can be found at the following link under the section "Runtime Libraries":
    http://www.businessobjects.com/campaigns/forms/downloads/crystal/eclipse/datasave.asp
    A direct link to the zip file that contains the runtime components can be obtained from the following link:
    http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/crjava-runtime_12.2.211.zip
    If you are still experiencing problems after using the 12.2.211 runtime components, then maybe it is the case that your printer driver is causing an issue.  The printer that I printed on is "HP Universal Printing PCL 5 (v5.1)".
    I hope that updating the Crystal Reports runtime version to the latest resolves your problem.
    Best of luck.
    Regards.
    - Robert

  • GR slip - Number of copies to vary based on Country key

    Hi,
    We are a multinational company and we have a requirement related to GR slips. The number of copies of GR slip printed should vary based on the country key, where the user is printing the GR slip....for e.g. if it is US then it should be 3 copies, Germany should be 5 and so on.
    So the same form has to be printed, only the number of copies varies....based on the country where it is printed.
    How to accomplish this. We are using Inventory Management Output determination, with Output type WE03. Please help.
    Thanks !

    Hi,
    See if country key can be added to the condition table and insert it in the access sequence.  Define exclusion check box by maintaining this access as the first in your access sequence.  When you maintain condition record for country as one of the parameters, make your number of copied in its communication data as you wish.  It should print based on country key, the number of copies...
    Regards

  • Setting the number of copies to be printed through crystal reports?

    I posted this in another section and got redirected to this one. 
    So I'm working with some software that utilizes Crystal Reports 10, and am looking for a method where through Crystal Reports I can take a user entered parameter value and set that as the number of copies for the printer to print. This isn't an option in Crystal Reports itself, so I understand I may need to dig a little deeper and write some customization to accomplish this.
    I've been building Crystal Reports for about two years now, all self taught, but have never had to go this far, where/how would I start on this? And I tried searching for a similar question in these forums to see if it's come up before but couldn't find anything. I'm kind of stuck at the moment because I can't alter the software that's using Crystal Reports to set number of copies, so I want to see if I can do anything in Crystal.

    Really, this is actually more of a report design question, though I understand why they's ask you to post here also.
    Anyhow, I think what you are asking is; can I design a report such that it will internally hold how many copies it should print(?).
    Answer to that is no.
    Only way to do multiple copies would be to modify the app you are working with. E.g.; go to the authors of the app and ask them for an enhancement to their product so that you can print multiple copies.
    - Ludek

  • Again about t.code MN05: number of copies of MM documents printed

    Hi all,
    by t.code MN05 I can set the number of copies of the MM documents printed the FIRST TIME. I can do it for doc.type or vendor.
    In particular, setting for document type, it doesn't work for all range of vendors.
    Setting for document type, in the field "PartF" I've put in "OA". Could it depend on it?
    Thanks
    Gandalf

    Hi,
    Please select VN and check
    Select Key combination as document type and co code
    regards
    suresh

  • Default number of copies

    I have an app on my Galaxy Tab 2 7in that prints using ePrint. Can I set ePrint to print 2 copies automatically? Either through some info the app sends or in the ePrint app?

    Hi Beachcombers,
    I understand that you want to print multiple copies of an ePrint job. 
    If you've downloaded the Hp ePrint mobile app once you select print in the top right corner you can select number of copies to print under settings.
    Hope this helps.

Maybe you are looking for

  • Error while transporting a WEBservice Datasource

    Hi all, I am trying to transport a web service datasource(PI data to BW)  in testing system . But while transporting ,I get the following error  in the logs of my transport request. Error generating the Web service /BIC/CQZPI_KPI00002000 This is not

  • Testing ASP pages in DW CS3?

    Hello. I need to start learning ASP, so I bought a book on it. I opened up a (very simple) sample ASP page from the accompanying CD ROM in Dreamweaver (CS3). The page opened and was viewable, but when I clicked F12 to preview in a browser, the page d

  • Solaris 8 to Solaris 9

    We have just migrated an Oracle application from a Solaris 8 environment to Solaris 9. My question is: Are the following /etc/system settings valid in solaris 9? exclude:sbdp exclude:gptwo exclude:sbd

  • IWeb- links in snippets sometimes open within the snippet itself

    I have many links in snippets that are supposed to open within the same window. I find sometimes if the the page is not fully loaded and users click on these links, they are then opened within the snippet and not the main window. I end up with a site

  • Suitcase Fusion/Classic Font Problems

    I have a few machines that can still run Quark 4.1 in Classic mode for viewing legacy files. Sadly, I installed Suitcase Fusion, which KO'd my ability to open any fonts in Classic apps. I have uninstalled Suitcase, using the Extensis Knowledge Base a