Selecting Number of copies to be printed at runtime

I want to print X copies of a report, the value of X retrived from the databse at runtime.......
How can we achieve this
Please help.

You can try using the FND_REQUEST package.
function FND_REQUEST.SET_PRINT_OPTIONS
(printer IN varchar2 default NULL,
style IN varchar2 default NULL,
copies IN number default NULL,
save_output IN boolean default TRUE,
print_together IN varchar2 default ’N’)
return boolean;
ken

Similar Messages

  • 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

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

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

  • Passing Number of copies / Duplex into print presets

    I need to pass the servers simplex/duplex and number of copies settings into the print presets so the user doesn't have to remember each forms setting.
    Can I pass these through the xfdf?

    No, but the simplex/duplex setting can be embedded into the form if you're using XFA forms.

  • Smartform to PDF Conversion with number of copies to be printed

    Hi,
       I have requirement to display pdf in an iview for which i created a smartform and converted it into PDF using the Function Module 'CONVERT_OTF'.
    Now my requirement is, when the user press the 'Print' option in the Adobe Reader, automatically 3 copies needs to be printed..
    Is there any way to do this? If so, please let me know.
    Thanks,
    Sri

    That is a question for the Adobe applications support. Regards.

  • PIXMA MP610: Can Printing a large number of copies damage the printer head

    Hi!I want some suggestion, if some one give me nice suggestion it will be best for meI bought Canon Mp610 , for my thesis (which contain 400 pages inculding color and black pages), and require 10 copies meanwhile, 4000 pagesI decide print to thesis with 1, or in 5 actions , I need suggestion which  will be best for me  to print collective 5 copies or print one or two copy then give it rest for 15-30 minutes and then give action for other copy, but is time consuming,  but my colleague said me if you print 5 copies in signle or multiple actions, it  damage the printer head, and you will loss your printer. He said me to use Laer jet for black portion and for color use inkjet printer. I am worried about his suggestion because i will waste my lot pages which will be print in black then I will replace them with color pages. Please give me your kind suggestion Please  RegardsMuqeet Soomro 

    I know what you mean, this has to happen every month, and for some reason (orders from the bosses), i have to be at work until the whole job has finished printing incase a batch goes wrong so we can imediatly start reprinting, it used to be only from the Friday night until early Monday morning, so I'm also trying to get the job done a bit quicker, but i can't see that happening.
    The problem is that its all together 150 000 documents that we need to print that will be split up into these batches (within 5 days, monthly), the printer that we are printing to is an OCE, so it can handle big batches. the thing is that we use to print it from an AS400 through DOCOUT, so while the printer was printing one of these batches, it was busy spooling the next batch, which made it a bit quicker, but now this process has to move over to JAVA, and if i can the program to spool the jobs, i can start spooling while the previous one is printing. i even thought about writing a batch through the socket, in theory its almost like spooling, but i don't know how much RAM the OCE has.
    I also thought of merging the POSTSCRIPTS into one document, but that will take alot of time and space.

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

  • Adobe Reader X cannot respond to printer properties number of copies issue

    Hi to all!
    I have an issue using Adobe Reader X 10.0.1, 10.1.0, 10.1.2, when select File > Print > Page Handling: Copies = 1, click Printer Properties > Page Setup, specify eg. Copies : 5, it print 1 copy only instead of 5 on Windows platform.
    Happen to a number of printers, eg. HP, Epson, Xerox, Canon, Brother printer, etc.
    For some reason, Adobe Reader X cannot respond to the No. of copies specified in the printer properties.
    Anyone have any solutions or workarounds to solve this issue besides specifying Adobe Reader X : File>Print>Page Handling: 5 copies?
    Is there any website, forum, supporting documents, with regards to above scenario?
    Please kindly advice, thank you in advance!

    Hi LoriAUC,
    Sorry for the late response!
    The users had a habit of going into the printer properties to specify other printer options eg. 2-sided printing, manual feed printing, heavy paper, etc... besides the number of copies inside the printer properties as well. Therefore, they prefer to do all the various changes in the printer properties instead of changing it at the Adobe Reader dialog.
    The same method were applied by all the users in Adobe Reader 9.4.7 and there were perfectly no issue at all! All the network printers (23 different brands and models in the network) responded to the printer properties "number of copies" accordingly.
    It seems that Adobe Reader X dialog Page Handling: No of copies, cannot synchronise and recognise the "No of copies" specified in the printer properties. This symptom was tested and found to be the same behaviour for different printer manufacturers. Wonder if there is a bug with Adobe Reader X as this issue did not occur for Adobe Reader 8 and 9 versions. The users were using Reader 8 and 9 versions before and there were no complaints until it was eventually all upgraded to Reader X, starting from 10.0.1, 10.1.0 and now 10.1.2.
    What do you think could be the cause?

  • 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

  • Number of copies by default in a printer?

    Hi everybody.
    I've a simple problem, but I don't know how to solve it.
    If I go to TC SP01 with a specific user and I see the details of a spool request (double click on it), if I go to output attributes, at No. Of Copies I see a 2, and all documents printed with this printer has it... I want to fix it to 1 by default for all documents, but I can't find where...
    Thanks in advance,
    Oscar

    Hi Oscar,
    I don't know of any way to default the number of copies at a printer level.  It is posible for the user to set it as a default, but it's quite complex so they must REALLY have been tinkering to set this.
    Here goes,
    As the logged on user print something (anything)
    In the print pop-up choose Properties
    In the next pop-up choose Specification
    In the field name drop-down choose 'Number of copies'
    Under this the default value will be shown.
    If this is set to 2 you can change it back to 1.
    Feels like a long-shot, but worth checking.
    Regards,
    Nick

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

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

  • 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

  • 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

Maybe you are looking for

  • I have 10.3.9 and I need to upgrade to 10.4!!

    Hello mac peoples, i got an old mac mini and a power book, and i just purchased some dj equipment (numark stealth control) and all the available dj software requires 10.4 at the least, is there anyone that can possibly provide me with some help/advis

  • What is maximum length .mov file that can be used in iDVD?

    Hello Appleheads I created an HD .mov file in iMovie which I had added as a movie in iDVD - I find this works best for me, as exporting directly to iDVD from iMovie always results in stuttering when played back on a regular DVD player. The .mov file

  • HT4436 iCloud control panel for my PC with Windows 7

    I just downloaded iCloud control panel for my PC with Windows 7, created an Apple ID, but when trying to open iCloud control panel it says the info I typed in is a legitimate Apple ID but not an iCloud login. ***?

  • Getting column names

    Hi all, I need to validate request.getParameterNames() against the actual fields in a particular table but I can't figure out how to query the DB for just the field names... SHOW columns FROM myTable; returns too much junk...I just need the field(col

  • Make switching apps (Cmd-Tab) skip hidden apps?

    Prior to using Mac OS X 10.8, I used 10.6.8.  In that version of the OS, and probably all the previous ones, I was used to hidden apps being moved to the right end of the apps list used by Cmd-Tab when switching from one app to another.  When hidden