SAPscript - print copy number

Hi All,
I have to print 2 copies of a SAPscript. One is an internal copy and one is a customer copy.
I would like to print 'Customer Copy' on the 2nd copy. But I cannot seem to find any SAPscript system variable that keeps track of the copy count... I know that Smartforms uses a COPYCOUNT variable but I am using SAPscript here.
Any ideas? Has anyone done this before?
Thanks,
N.

Hi,
Fill the structure ITCPO... with TDCOPIES = 2 and pass it to the OPEN_FORM FM
Now while printing the form... in your print program
declare a variable to hold the string value "Customer copy'
do tdcopies times
  case sy-index.
  when 1.
     var = 'ORIGINAL'.
  when 2.
    var = 'CUSTOMER COPY'.
  when others.
  endcase.
call your text element where you are displaying the var value
enddo.
regards
padma

Similar Messages

  • Print Copy Number

    Hi all
    When I print more than 1 copy of particular report, I want to print Copy Number(1st copy ,2nd copy etc...) for report first page. Please expalin how to do it
    Thanking You

    Hi
    Have you tried with SRW package. look at it. it supports some printer options too.
    Thankyou
    Sasi

  • Auto print copy number

    Using Adobe 8 Professional
    I have a 40 page document in which I will need to print 300 (+/-) copies of.  I want to print an incremental 3 digit "form" number on the first page of each copy so that my first set prints "100", the second set "101", etc.  It would be ideal if the form number could repeat once it gets to number 104, but I would settle for running numbers.
    Is there a way to do this and if so, how?

    You will need to add a form field to the first page. You can then use JavaScript to create a controlled loop action to add 1 to the value of the form field and print print that copy, and then repeat that loop until 300 copies are printed.
    Assuming you have a field named "Copy_Number" on page 1 of the PDF.
    // print 300 copies:
    for(i = 0; i < 300; i++) {
    this.getField("Copy_Number").value = i + 1; // add copy number to PDF
    this.print(); // print the PDF
    } // end loop

  • HP C4200 All-in-One Series Printer/Copier/Scanner

    My All-in-One 4200 HP Printer, Copier, Fax machine continues to waste paper and prints alignment pages almost every time I print a document.
    I believe you would agree that this feature needs to be turned off and is very annoying.  Other than constantly pressing cancel, please tell me what I can do to stop this from happening?
    Thank you
    Dale Kozek

    Hi blanche2,
    I understand you are inquiring if you have the proper software CD for your printer. Yes you do. A printer much like a car has a series that contains a base model and a few others. By adding different features and options to the base model it will create a different model number under that original series. The base driver will be the same for all the printers, but each model will have certain extras. Also different store chains will be assigned a different model number in that series depending on the promotions that are offered at that particular chain.
    I hope this helps, let me know.
    Thank you,
    I worked on behalf of HP.

  • Problem in printing copy count in the smartform printout

    Hi,
    I have created a smartform with a single page. I will be printing this form n number of times. For this i have used "TDCOPIES" option while calling the function module generated. Let me say that i am printing it twice. My problem is while printing at the end of the page I need to print "Copy 1 of 2" in the first printout and in the second print out "Copy 2 of 2".
    Currently, I am using SFSY-COPYCOUNT, but it still prints "Copy 1 of 2", "Copy 1 of 2", "Copy 1 of 2"... The value of SFSY-COPYCOUNT is always coming as 1. Can anyone help me out in this case.
    Thanks,
    Prem

    hi
    u ahve to use the COPY window to PRINT like this.. in the Normat even if you use the SFSY-COPYCOUNT it won't work.
    wht u ahve to do is crete a WINDOW (Type COPIES WINODOW) then insert the same as u did... or <b>just change teh Window type to COPIES window</b> it will be fine.
    Please Close this thread.. when u r problem is solved. Reward all Helpful answers
    Regards
    Naresh Reddy K

  • Current copy number in scripts

    Hi  ALL,
    I have a problem in scripts. i want to print the no of copies for scripts,for copies suppose i want 3 copies then it should come like 1/3,2/3,3/3.in this i got the total no of copies from nast-anzal .i gave as &nast-anzal&.i got like copy  /3,but the current copy number i dint get,
    soo plzz kindly give me the answer.
    thanks in advance,
    Anil.

    Hi Anil,
    You can write a logic like,
    take a counter,
    while counter <= &page&
    Print the script.
    counter = counter + 1.
    endwhile.
    Hope the above pseudo code will help you.
    Rgds,
    Sripal

  • Copy Number

    Hi experts,
    In Sap 8.8 with Crystal Report, when printing a Invoice document I want to write diferent texts depending on the
    printed copy.
    Ex I want to write 3 copies of an Invoice.
    In copy number 1 I want do write "Original", in copy number 2 I want to write "Duplicate" and in copy
    number 3 I want to write "Other"
    The only way I now is coping the invoice layout 3 times and change the text that I want to write in each one.
    This is not a good solution because if I have to change something I have to change in the three layouts.
    Is there any function "COPY NUMBER" ? Or how can I work around this situation?
    Best regards,
    Augusto Silva

    Hi Augusto........
    In SAP 8.8 there is a provision called sequence printing in PLD layout.
    Create three replica of PLDs and on each one give the respective text as Original in one and duplicate in two and buyer in third like that and assign the sequence so the moment user give print command all the three copies will come out....
    try this solution once.......
    Regards,
    Rahul

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

  • How can I make printed copy of photo CD

    I have a folder of images that I will burn to CD. How can I make a printed copy of those images with text to file with the CD?
    imac g5   Mac OS X (10.3.9)  

    You can print a contact sheet with titles in iPhoto 6. I searched the iPhoto 5 forum and found a workaround from Ken.
    " Instead of Print, Contact Sheet use Share, Export, Web Page. .The "contact sheet" will be the thumbnails so be sure to select the Show title and Show comment boxes. Create a webpage, open it in your browser and print from there."
    And more detailed directions from Elizabeth Kley:
    "Creating Contact Sheet with Titles
    1 - Put the files you want to print in an album and arrange in the order you'd like.
    2 - Go to the File->Export->Web Page menu option.
    3 - While in the Web page window, select the number of thumbnails you'd like across each page (iPhoto will keep you informed on how many pages it will take).
    4 - Click on Show Title under thumbnails and click on Export. Then select the location where you'd like the resulting files to be saved (create a temporary folder to contain them).
    5 - Once saved, go the folder and open the index.html file with your browser. You will get a page with your thumbnails and titles beneath them.
    6 - Print that browser page and you've got your contact sheet with file names (or comments if desired). "
    Is this what you had in mind?

  • Print/Copy Options in Dreamweaver 8

    I am a new user in Dreamweaver 8 and I want to print the Design content. I see that the only option available in Dreamweaver 8 is the Print code.
    Also when you copy paste the design content in word, it pastes as text and does not paste as the design content.
    Our website content is just simple tables for ISO.
    Can anyone please share a way to print/copy the design content?
    Thanks

    DW is web authoring software for the creation of X/HTML/, PHP/JavaScript & CSS code.
    MS Word is primarily a word processor/desktop publishing application with related print options. 
    Photoshop & Illustrator are graphics applications with many other print options.
    I think what you want is a screenshot of your web page.  Download the Screengrab Add-On for Firefox.
    https://addons.mozilla.org/en-US/firefox/addon/screengrab/
    Within Firefox, you can create a PNG or JPG snapshot of your entire web page or just selected portions of it.
    Then open the image in your favorite graphics software to crop, resize, and print.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • How do I get adobe to STOP the pop up windows asking me  "print, copy, download, global settings, etc"  so intrusive, so annoying, so harrassing

    I cant cant cant stand the continual pop ups every single minute of every single ay when I type, e mail or  go on FB  with annoying pop ups from adobe asking me "print, copy, global settigns, downkoad, link : etc etc etc  STOP!!!!!!!! OMG!!! Ihave filed numerous compaints & sent 100s of e mails to NO avail  STOP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    ill try    I\t literally is making me crazy  Its BEYOND annoying & so intrusive  Its a white pop up windeow at the bottom of my screen as I  am typing  It says -Print, -copy global- settings downloads, etc
    Horrible!!!!!!!!!!!
    ila
    www.partiesbyila.com
    516 204 6742

  • How can I print the "number lines" with the code in Visual Studio?

    How can I print the "number lines" with the code in Visual Studio?

    Hi BillionaireMan,
    What about your issue now?
    If you have resolved it, you can share the solution here, which will be beneficial for other members with the same issue.
    If you did not, please tell us more information,we will try my best to help you.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • HP 4500 printer/copier/scanner - copier & scanner not working

    I have an HP Envy 4500 printer/copier/scanner.  When I attempt to copy or scan anything, the printer initially sounds like it is going to work, but the screen just reads "copying" and nothing happens.  I then hit cancel and the screen reads "cancelling" and nothing happens.  I have to turn off the printer and restart to print normally.  How do I restore the copy & scanning functions???

    Hi @bonniegirl
    Welcome to the HP Forums!
    I'm sorry to hear you've had issues using the scanner on your Envy 4500, but I will absolutely do my best to help out
    I will suggest first that you plug the printer directly to a wall outlet to ensure the printer is getting enough power to function properly. Once that is done though, if you're still unable to copy I will suggest that you update the firmware on the printer, if an update is available. If your printer is connected to your wireless network, please follow this Getting the Latest Firmware and Printer Updates document to get the firmware updated. If you're connected to a computer via a USB cable, then please update via the following link: HP Envy 4500 series firmware update to improve printer performance.
    If it doesn't allow you to update the firmware that usually indicates that everything is already up to date.
    If the firmware also doesn't seem to change how the scanner functions, let me know and I will look into a reset for your Envy 4500.
    Hope to hear back from you soon!
    Please click “Accept as Solution ” if you feel my post resolved your issue, as it will help others find the solution faster
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    **MissTeriLynn**
    I work on behalf of HP

  • HP Officejet Pro L7780 Print,Copy,Scan,Fax

    We have used the HP L7780 as a stand-alone copier (not connected to a computer or a network).
    We are now ready to donate the unit, which still works well, but are concerned that its internal memory (or disk drive) may store images of copied data which is sensitive information.
    How can we erase/overwrite that memory without destroying the operating system?
    We want the printer/copier to be functional for the new owner.
    This question was solved.
    View Solution.

    Hi TechUserOKC,
    If you have only used the printer as a stand-alone copier without connecting it to a computer or network then you don't have to worry about images or data being stored in the unit. However, if you have faxed with this machine there is a chance images from faxes could be stored and saved in the internal memory. In this case you would need to restore the factory defaults on the printer.
    Let us know if this helps.
    If I helped you at all it would be great if you clicked the blue kudos star!
    If I solved your post please mark it as solved to help others.
    I'm a printer tech with HP.

  • Have a HP Photosmart Premium C310a printer, copier,sca​nner problem

    Have a HP Photosmart Premium C310a printer, copier,scanner problem
    When I try to scan it asks me for destination, PC or SD card, when you select PC it tells me to iniciate from the computer.
    The printer was installed with the 3100 series drivers. i have no icons to inicate from the PC. I have downloaded an ran PS_AIO_07_C310_FSW_Full_Win_enu_140_246 which is supposed to be the correct software and drivers for this printer. When I process this application, there is no termination. It asks if I want to let it make changes to this computer, runs for a while and then disappers from active processes. Acts like nothing really terminated or even ran.  
    Printing and copying works perfect, only problem is with scanning. I have used the workaround  of going to the printers IP address but this does not allow multipage scans. 
    i have windows 7 Home Preimum Service Pack 1 64bit operating system using Chrome as the browser. Printer is being used as wireless. 

    Hello keller123,
    I see that this is your first time with us on the HP Forums. Please let me take a moment to say "Welcome".
    To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I see that you are having some issues when it comes to scanning.
    I suggest that you attempt to use the HP Scan software.  Please click on Start and go to All Programs. Scroll down the menu until you see a Yellow HP folder. In the Folder you will see your printer listed. Click on the printer and you will then see HP Scan. 
    If this does not resolve your issue, please write me back.
    If I don't hear from you today, I hope the remainder of your Wednesday is a good one.
    Cheers,   
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

Maybe you are looking for

  • ICal synching across multiple user accounts

    I recently set up 2 user accounts on my first iMac, one for me and one for my husband. We would like to maintain separate calendars and just e-mail common appointments back and forth. But we find that adding an appointment on one iCal calendar actual

  • File adapter should pick a single file at a time

    Hi,     I have File to RFC scenario.. in my source directory  I'm getting bunch of files with  the same name.  at a time.. but  i want to pick the one by one only. that means.. my file adapater poll interval is 30 seconds.. every 30 seconds it will p

  • Design view in DW CS3 with php ?

    I am evaluating DW CS3 having previously used text editors to create simple php based sites. I'm having problems understanding if DW can show a design view of a static php page,that uses include php files to provide the html code for the top of the p

  • ALV Grid - Subtotal & total to be shown at the top of the table

    Hi, I am using function module 'REUSE_ALV_GRID_DISPLAY' to display a table, and I count subtotals and total for some fields. The total is always shown at the bottom of the table, and subtotals are always shown after the rows that subtotals are calcul

  • How to change sheduled jobs from one users to other user?

    Hi, I want to change shoulded jobs from one users to other user. Is there any way that we change job from one user to other user. apart procedure with sm37: single job selecting with copy option. Regards, Gianluca Vinco