Set number of copies to print

Hello,
We're using Adobe Lifecycle Designer 8.0 and we've the requirement to print copies of our generated pdf delivery form.
Does anyone know how to set the number of copies dynamically at runtime ? Maybe by using java script  ?
Thanks in advance !

Yes, I know OPK8 is used to set number of copies for CO04. We set it to 1 as I mentioned. That is what is needed when the user executes CO04 directly. My question was is there a way to dynamically change the number of copies when running CO04 via creating a BDC (or call transaction) from a custom process, because then we will need more than one copy.
I am resigned to calling CO04 in a loop for the number of copies I need.

Similar Messages

  • Get number of copies from print dialog

    Hi All,
    I am using javax.print API to display the print dialog, I am also able to successfuly print a document.
    My questions is how can get number of copies from the print dialog.
    I did log of googling, but no sucess...I have been trying from 1 day.
    Please help me.
    Thanks in advance.

    Here is the code:     // TODO Auto-generated constructor stub
              PrintService[] services = PrintServiceLookup.lookupPrintServices(null, null);
              PrintService defaultPrinter = PrintServiceLookup.lookupDefaultPrintService();
              PrintRequestAttributeSet attrs = new HashPrintRequestAttributeSet();          
              selection = ServiceUI.printDialog(
                 null, 100, 100, services, defaultPrinter, null, attrs);           
              if(selection!=null){
                   selectedPrinter = selection.getName();               
              }Now once the printDialog is displayed i want to get the number of copies selected by the user. I tried all different options from Attribute, but not successful.
    Please help...
    Thanks.

  • 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

  • Specifying number of copies and printer trays

    Hi,
    can anyone tell me if there is a way, within CR, to specify the number of copies of a report to print and to direct the copies to specific printer trays i.e. copy one prints to printer tray one, copy two prints to printer tray 2.
    Thanks,
    Noel

    You'd have to create an application using .NET or Java to do this.
    Ludek

  • Enter number of copies to print of a form as a variable

    I would like to be able to print a variable number of copies of a form by using a data field to hold the number of copies for each form such as an invoice.  In other words, I'd like to print 3 copies of some invoices, 4 copies of some invoices, 2 copies of others, etc.  For each invoice, the number of copies needed would be part of the invoice data.  Is that possible with Crystal Reports 2011?  Thanks!

    Hi,
    You must a trick to do this, which is described in the following discusson, It is also works for CR 2011, and this is a great idea:
    http://scn.sap.com/thread/1867614
    As a next step, filter your report (in this example the ].[Test_Copy] view) as many copies needed by your variable or database field.
    I hope it helps,
    János

  • Number of Copies to Print Based on Database Field

    Post Author: Ltreat
    CA Forum: Formula
    I am a newbie with Crystal Reports XI.  I am new to this forum. 
    I have a report that I am printing from Crystal Reports XI.  My database has a field called {database.drop-loc}.  If the field has a value of 50, I need to print 50 copies.  How do I perform this task in Crystal? 
    Thanks,
    Lynne

    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

  • Number of copies to print

    HP Officejet 6500 (Wireless)- but using USB connection-Windows 7 (Home Prem).  If I ask it to print 2 copies from Foxit PDF editor it only prints one copy. If I then go back to the print instruction it still shows "2" against number of copies. I change that to "1" and tell it to print but this time it prints two copies. Can anyone help please?  Thanks.

    Hi,
    This 4 represent - send immidiately. i.e. when you click the message tab, after entering the output type u hav to click further data tab in this there is dispach time option here you have to select send immidiately.
    For taking no. of copies whiling giving the print out system will ask for the option you can enter 4 no. here.
    regards,
    Anisha

  • Number of copies to print in ME21/22

    Hi all
    I'm searching where is specified the number of copies of purchase order to print in ME21/22 ...
    In my system (4.6C), I can see 4 as this number, but there's nothing in message determination (MN05).
    Where is specified this 4 ?
    Have you any idea ?
    Thanks
    JC

    Hi,
    This 4 represent - send immidiately. i.e. when you click the message tab, after entering the output type u hav to click further data tab in this there is dispach time option here you have to select send immidiately.
    For taking no. of copies whiling giving the print out system will ask for the option you can enter 4 no. here.
    regards,
    Anisha

  • Printed double number of copies (Invoice printing)

    Hi,
    While giving print for invoice from vf03 its printing double number of copies i.e. if i configure 3 copies in
    communication methods then it is printing 6 or 5 or 7 copies.
    Please need information where could be the problem.
    Thanks & Regards,
    Amit

    Hi Amit,
      The extra copies your getting are they blank?
    If you have used page-break option make sure there are no blank lines before it.
    Coz it will result in a blank page.
    Hope it helps!
    Much Regards,
    Amuktha.

  • 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

  • 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)  

  • 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.

  • Changing the Default No.of Copies in Print Window

    HI All,
    How to change the default number of copies while printing in Print POP Up box for Standard Transactions for some specific users.
    Regards,
    Sudhir

    Hi Neeraj,
    Thanks very much for the info! Unfortunately, when I get to the "MemberSelectionRowsPerPage" tab, I'm not able to change the default from 20. The "20" appears in blue numbers, and while I am able to modify the field, as soon as I click away from it, or click enter, or click refresh, it reverts back to "20". I've also tried modifying the number, and closing out the screen, but when I go back to the tab to check, it has reverted back to "20".
    Is there a way to save this setting that I'm missing? Has anyone else seen this before?
    Thanks in advance!
    -Jim

  • Crystal Reports Number of copies

    Hi there
    We are using Crystal reports to do reporting work in our add ons.
    Does anyony know if number of copies can be set  internally in a crystal report itself? We want to make the number of copies depending on a formula/function build withing a crystal report.
    We know it is possible to set number of copies from outside by setting a property at crystal report object but from inside ...?
    Thanks for your help
    Kurt

    Hi Kurt,
    As we haven´t found any "easy" way, we usually do a simple trick for this, but is dependent on the way we manage the Crystal Report.
    All our reports are based on views with parameters. So if we need 2 copies of a reports, what we do is to change the view. Instead of a SELECT statements we put the SELECT statement, UNION the same SELECT statement.
    This returns 2 results, and we manage them in the Crystal Reports.
    Hope helps,
    Ibai Peñ

  • 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.

Maybe you are looking for