Printing 4 pages(1 Original + 3 copies) from CO02 tcode

Hi all,
I am going to CO02 tcode  and pressing the save button.  It automatically prints the document.  But my requirement is to print 4 copies when I save CO02.  I have my Z print program and the Z sapscript also.  But in Z program, I could nt find any NAST-ANZHL field where we give number of copies.  How to go about it.  Is there any configuration to be made for printing 4 copies or is it possible only through code.  (Also I have to print 4 copies only for a particular Company code only)
Thanks in advance,
Balaji

<b>LS_ITCPO-TDCOPIES = 4.</b>
CALL FUNCTION 'OPEN_FORM'
     EXPORTING
            FORM               = G_FONAM
          application        = 'TX'
            ARCHIVE_INDEX      = TOA_DARA
            ARCHIVE_PARAMS     = ARC_PARAMS
            DEVICE             = lf_DEVICE
            DIALOG             = LF_XDIALOG
            LANGUAGE           = NAST-SPRAS
            OPTIONS            = LS_ITCPO
            MAIL_SENDER        = ls_sender
            MAIL_RECIPIENT     = ls_recipient

Similar Messages

  • Printing A3 page format using ABAP List from SAP is a problem...

    Hi Experts,
    I am trying to print a standard output (ABAP List) A3 page size from SAP.
    I used SWIN, SAPWIN, I9HP4 device types, but none of them worked.
    I created page format type ZYEVMIYE 290MM – 420MM and the page format L120, W200. In order to make it usable with page size is A3. Unfortunately this did not work either.
    The behaviour of the problem is when I tried to print with the device types that mentioned above then printer indicator comes to an error. And nothing comes out from the printer.
    Just to be on the safe side I made a test from windows self test, it resulted success with A3 page size format. So from this point of the view I got a thought that somehow SAP (selected device types) is not able to send correct signal to Printer for page size A3, because on the printer information screen displays ‘load Tray2 for A4’ this is showing that SAP sends Printer a signal for page format A4.
    I need help on how to make SAP (selected device type) send a correct signal to Printer in order to printout A3 page size format.
    Quick reply will much be appreciated.

    Hi,
    At last i got a Solution to my Question.
    The Problem is that in my SAP-Code they have been translated the PDF into 255 string.But i am retreiving using 132 string.So, i resolved in this way.
    <b>For Each dr As DataRow In ds.Tables(0).Rows
    Dim dataline As String = dr(0)
    If dataline.Length < 255 Then
    dataline = dataline.PadRight(255, " ")
    End If
    sb.Append(dataline)
    Next.</b>
    May be this Thread is useful to Others.
    Regards,
    Rajender.

  • How can i print only pages which have been highlighted, from a multi page file?

    How can i print only pages which have been highlighted, in a multi page file.

    Ah, I see want you mean. This might not be practical for you, but if you select one instance of the highlighted text and add a [space] to the little sticky note, all of the highlighted text on that page will appear in the summary.

  • Print Odd Page Dimensions

    I went through a lot of trouble trying to figure out why this wasn't working, so I would like to post my notes for anyone who needs to do this.
    I needed to print on page sizes that could vary from short, wide pages to tall, narrow pages. I was trying to do this by implemeting the Printable interface, but that doesn't work, because the page size would be automatically changed from my settings. I found this blog that gave me the hint that I needed to implement the Pageable interface instead, and that worked perfectly. Fortunately, the Printable implementation was just what I used to learn Java printing, and Pageable is what I was heading towards.
    I'm not sure why Pageable worked and Printable did not, because for Pageables essentially point to a collection of Printables, each having their own PageFormat. In any case, if you are having trouble with printing, especially with wide pages, this may help.
    Best!
    - Tomas

    in iPhoto edit the photo and crop to a square - since cropping is just a ratio, not a dimension and square would work - select the cropped photo and click print - select the printer and paper size and set a custom print size - 12cm x 12cm in your case - and print
    LN

  • HP Deskjet F2480 All-in-One prints BLANK PAGES

    Dear All, I have a serious issue with my HP Deskjet F2480 All-in-One Colour Ink-jet - Printer / copier / scanner.The thing is that it prints BLANK PAGES. I tried everything from the manualHP Deskjet F2400 All-in-One series:
    "Print troubleshootingTry the following solutions to resolve the issue. Solutions are listed in order, with the mostlikely solution first. If the first solution does not solve the problem, continue trying theremaining solutions until the issue is resolved.• Check cartridges• Check paper• Check product• Check printer settings• Reset the product" IT DIDN'T WORK! The printer is still printing BLANK PAGES. The ink level is sufficient to print a page - the HP Solution Centerapplication says that 'the actual ink levels may vary' but it shows a tick-mark, which means that everythingshould work. However it still start the process of printing (blank) and blows the page again - blank page. HELP? HOW CAN I RESOLVE THIS PROBLEM?  janviv1

    I am having this problem too - just prints blank pages. Ran the tests checked cartridges settings sanity nothing.Scans fine.I currently have three duff printers in my office which is more than frustrating...

  • Printer second page issue

    Dear Gurus,
    When I print two pages for a one invoice in a dot matrix printer,
    second page starts a bit below from starting point..
    Do anyone knows how to fix this issue?
    Kind Regards,

    Hello friend,
    In the windows under output options tab there is an option for setting the left margin and upper margin. Just reduce the upper margin and see whether you are getting any difference in output.
    I think this must be the problem, if not please revert me will help you.
    Thanks,
    Sri Hari.

  • Problem print all pages on my HP Laserjet 1320 from my Mac

    I am having a strange printing problem.
    Happens in almost any program (Mail / Excel /Preview/Word/TextEdit/etc.).   I can ask it to print a one page document.  It spools, the printer flashes.  The computer said it is done but nothing printed.   On the same document, if I tell it to print 2 copies of the one page document, it will print one page sometimes and two pages other times.  When printing long multipage documents it will sometimes not print the last page.   It is almost as if the needs to be something at the end of the print job to push the last bit along to the printer and complete the print job.  It only started happening 3-4 months ago.  Now I have to check everything I print to make sure it is all there.  This printer is connected to my Mac Mini via USB.
    If I send the same print jobs to the company network printer....everything prints fine.  (Kyocera - copier/printer/scanner/fax combo unit)
    Here is some info on My system.
    Mac Mini 2.3 GHZ i5 / 4GB memory
    OS X 10.9.5
    Printer is HP Laserjet 1320
    I have deleted and reinstalled the printer several times and no joy.  

    I've also had problems with the HP 1320 and my Mac. Some things print, while others just give a blinking green light and then it goes off. This recently happened to me while trying to print a series of labels from Word. Giving up on the HP, I decided to print the labels off my inkjet printer and placed a number a labels in the printer and hit print for 100 copies. Since I had being doing some other things in-between, I didn't notice that the print select had also gone to my default printer the HP. Suddenly, thinking the inkjet was to print the labels, the HP starts printing those labels. I then noticed that the HP was the printer selected, but I was at a loss to figure out why it suddenly had started to actually print the item that I was previously unable  to do. I finally determined that when I tried printing to the HP with the initial (1) copy it would not print; if I changed that number to (2) it would print one copy; if (3) I would get 2 copies; thus the print was giving exactly one less copy than I selected; thus when I select (1) copy it reads it as 0, will blink green and give me nothing. Give it a try.

  • Printing web page with select tags in IE9 and a .cfm file-only the original selected option prints

    My web page has a select tag and cfselect tags and when I print the page with a different option other than the originally selected option the print for both types of select tags reverts back to the original selection and ignores the new selection.  This happens in IE9 and .cfm files but not when the page is printed in IE8 or IE7 modes (tried in the F12 Developer Tools.)  It also needs to be a .cfm file.  FireFox printed the pages correctly for any combination.
    This was done on a Dell and ThinkCentre computers under Windows 7.  Also, I was able to reproduce the same problem on an different university web site where a selection box would revert back to the original selection for printing on a .cfm page and would print properly on a .PHP page at the same site.
    For my site, I used a print button which calls print() and right clicked and chose print and got the same results no matter which method was used.  I only had the right click method on the third party web site.
    I know this is probably a bit narrow an issue but, any help would be appreciated.

    It appears that it is probably an IE9 bug.
    I simplified the problem by turning the page source taken from the brouser of the original .cfm into an html file and found that it would still print improperly.
    When I eliminated the various parts of the file I found that it would print correctly only when I removed the first line, the "DOC type" line.
    The page will print the newly selected option but then I lose the style sheet.
    If it does not work in an HTML file it must be IE.  It is not the .cfm.  The reason that it did not work for .cfm files, is that they always have a "DOC type" statement.
    I have put the issue into an MSDN forum in addition to the one mentioned previously.

  • HP PSC 2175 All-in-one prints blank pages from word, chrome and notes

    My HP all-in-one printer PSC 2175 all-in-one has suddenly decided to print blank pages.
    So far I've tried printing from Word, Notes and Photoshop but come up with nothing. 
    It prints test pages and diagnostic pages without any problems and it makes direct copies without problems.
    The diagnostic tool can't find anything wrong. 
    I've run all the software I could find on Swedish HP. 
    I've reinstalled the printer, reinstalled Word, repaired Windows, nothing helps.
    I have Windows XP, fully updated.
    Any suggestions?
    HP PSC 2175

    I am having this problem too - just prints blank pages. Ran the tests checked cartridges settings sanity nothing.Scans fine.I currently have three duff printers in my office which is more than frustrating...

  • How can I print some pages from multipage report

    Hello,
    I have created a multipage report in word. I would like the user to be able to print the pages selected (as in word printing: pages: 1, 2-3); 
    I am using Office 2007 pro, the LabVIEW Report Gen Toolkit, LabVIEW 2009, and Windows XP.
    I used the suggestion in thread:
    http://forums.ni.com/t5/LabVIEW/How-can-you-print-a-single-page-of-a-multipage-report/m-p/155233 , modifying the print VI that comes shipped with LabVIEW: NI_ReportGenerationToolkit.lvlib:Word_Print.VI.
    first of all I put two integer constants on "From" and "To" in the Invoke node (PrintOut), but Labview return an error:
    Error 1015 occurred at NI_ReportGenerationToolkit.lvlib:Word_Print.vi -> NI_Word.lvclassrint Report.vi -> print2.vi
    Then I searched for PrintOut Method in word 2007 Reference guide, and I saw that for using From and To the Range field must have the string  wdPrintFromTo;
    I insert wdPrintFromTo string  in RANGE Field and tryed.... same error......
    After that I change approach; removed all constants and used the field Pages; I put a string "1-2" connected to this field and now the printer respond, but all pages was printed!
    What's wrong?
    many thanks
    Attachments:
    print2.vi ‏18 KB
    parte comune.doc ‏43 KB

    Thanks, Alex!
    ok, I try first approach in print4.vi, but Labview return an error (view jpg); if I cut From, To controls, the VI print all pages. The same things happen also if I trasform I32 in Variant.
    I don't try second approach, because at this time I have only one report
    I try also with VB macro: this is better (print3.vi) but.....if I use:
    Sub Print_Pages_From_To()
    ActiveDocument.ActiveWindow.PrintOut Range:=wdPrintFromTo, From:="2", To:="3"
    End Sub
    is ok; print the pages selected; if I use:
    Sub PrintPages()
    ActiveDocument.ActiveWindow.PrintOut  Pages:="2-3"  
    End Sub
    printer print all pages.
    what do you think?
    regards,
    Italo
    Attachments:
    print Problem.jpg ‏39 KB
    print4.vi ‏19 KB
    print3.vi ‏19 KB

  • Can I print web pages from firefox using adobe pro 9 (Not using PDF download) and if so how

    Can I print web pages from Firefox 3.6.12 using adobe pro 9 (not using PDF Download) and if so how.

    {Ctrl + P} - do you have a PDF Printer listed in the Printer - Name drop-down?

  • How can i print specific pages against searched word or name (in one print command) from 1000 pages

    how can i print specific pages against searched word or name (in one print command) from 1000 pages

    Thanks, Alex!
    ok, I try first approach in print4.vi, but Labview return an error (view jpg); if I cut From, To controls, the VI print all pages. The same things happen also if I trasform I32 in Variant.
    I don't try second approach, because at this time I have only one report
    I try also with VB macro: this is better (print3.vi) but.....if I use:
    Sub Print_Pages_From_To()
    ActiveDocument.ActiveWindow.PrintOut Range:=wdPrintFromTo, From:="2", To:="3"
    End Sub
    is ok; print the pages selected; if I use:
    Sub PrintPages()
    ActiveDocument.ActiveWindow.PrintOut  Pages:="2-3"  
    End Sub
    printer print all pages.
    what do you think?
    regards,
    Italo
    Attachments:
    print Problem.jpg ‏39 KB
    print4.vi ‏19 KB
    print3.vi ‏19 KB

  • How do I print 2 pages from a pdf file and enlarge it

    how do i print 2 pages from a file and enlarge it  to email

    Hi stevebulldog,
    Do I understand correctly that you'd like to extract two pages from a PDF, and then send them via email?
    To extract pages from a PDF, you need to use Acrobat. If you don't have Acrobat, you can try it for free for 30 days. Please see http://www.adobe.com/products/acrobat.html.
    I'm not sure what you mean by "enlarge" it. When your recipient views the PDF, they can enlarge the view (zoom in on the PDF) by choosing options from the View menu in Acrobat or Reader.
    Best,
    Sara

  • How do I print selected pages from a multi page document

    How do I print selected pages from a multi page document?
    This question was solved.
    View Solution.

    Hi,
    It depends on the software you are using, what is it ? In general you can select a range or just a number of pages.
    Regards
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How to print specific pages of a pdf from a vb 2013 program using a print dialog

    Hi.  I am using the acrobat sdk to display pdfs from within a vb 2013 program, because the pdfs are large and we have developed indexes on certain columns.  The indexes are stored in SQL tables.  My program has a search window which allows the user to search for a value and displays all the pages on which this value appears in the indexed column in a listbox.  By double-clicking on the desired value in the listbox, the user can go to the selected page and column.  However, the user also needs to be able to highlight one or more of the pages in the listbox and print these pages.  I could do this silently using AcroExchAVDoc.PrintPages, but the user also needs to have a print dialog displayed in order to possibly select a watermark to be printed on the pages.  I also need to default the orientation of the pages depending on the document.
    I have reviewed the sdk documentation and also searched in Google and on this site but have not found a way to do this.  Does anyone have a suggestion?  Thanks for any help you can provide.
    Mary

    Hi.
    I did try using the printParams feature and it worked, but since I need to be able to print sets of non-consecutive pages,  I end up having to bring up the print dialogue multiple times and have the user set watermarks each time. 
    I decided to just create a new pdf in a temp directory containing the selected pages and open this document in a new window.  This works well and allows them to use the print button on the window to print, bringing up the print dialogue just once.  However, since I need to open the document in a way that shows the print button, I am using OpenInWindowEx, with AV_DOC_VIEW, and the option PDUseBookmarks or PDUseThumbs, rather than PDUseNone.  This displays a toolbar which also includes icons for creating a new pdf, deleting pages, etc.  I do not really want to include these icons on the toolbar.  Is there a way to remove unwanted icons from the toolbar, or make them invisible?
    Hope this makes sense.  Thanks for your help.
    Mary

Maybe you are looking for