To get print copy no dynamically

Hello Abapers,
My requirement is to get the print copy no. dynamically.I am getting the print copy no. dynamically  when i  press print button beside the print preview button .But my requirement is to get same dynamic print copy no. when i press print button on print preview screen.but it is not coming when i press on print button in print preview screen it is getting print but the dynamically copy no. is not changing.

Hi Krishna,
please check your code with below code, here PRIN is for printing and PRIV is for preview
DATA : P_CONTROL_PARAMETERS TYPE SSFCTRLOP OCCURS 0 WITH HEADER LINE.
DATA : I_OUTPUT_OPTIONS TYPE SSFCOMPOP.
IF PRIN  = 'X'.
     P_CONTROL_PARAMETERS-PREVIEW   = ' '.
     I_OUTPUT_OPTIONS-TDNOPRINT     = ' '.
     I_OUTPUT_OPTIONS-TDNOPREV      = 'X'.
     I_OUTPUT_OPTIONS-TDNEWID       = 'X'.
     I_OUTPUT_OPTIONS-TDIMMED       = 'X'.
ENDIF.
IF PRIV = 'X'.
     P_CONTROL_PARAMETERS-PREVIEW   = 'X'.
     I_OUTPUT_OPTIONS-TDNOPRINT     = 'X'.
     P_CONTROL_PARAMETERS-NO_DIALOG = ''.
   ENDIF.

Similar Messages

  • When I try to print from web page I get "printer not activated - error code 30", but I can copy text into Word document & printer works.

    I am unable to print anything from an internet web page. I continually get "printer not activated, error code- 30" followed by "An unknown error occurred while printing". I can copy the material from the web page, place into a Word document and then print. This just started yesterday and I have no idea why. Would appreciate your advice!

    See this:
    [http://kb.mozillazine.org/Problems_printing_web_pages#Prints_to_a_small_portion_of_the_page]

  • I am attempting to connect my Canon Pixma MG5220 printer/copier/scanner to my MacBook Pro OS 10.6.8.  After loading software from Canon and attempting to print, I get the following message: NT_STATUS_ACCESS_DENIED.  What can I do to fix this?

    I just purchased and installed a Canon Pixma MG5220 printer/copier/scanner to my PC desktop with Windows XP.  It works fine.  It has been successfully installed on my network and I am able to use it with my laptop running VISTA.  However, I am trying to connect it to my MacBook Pro OS 10.6.8 and I am not having much luck.  I can see it as one of the printer choices when attempting to print; however, I get the following message:
    NT_STATUS_ACCESS_DENIED
    I have been searching for answers, but nothing seems to work yet.  Does anyone have any suggestions?
    Thanks.

    Let me understand:
    - you have purchased named canon, which is conencted to your PC running windows xp
    - downloaded driver for win xp, and canon works fine
    - canon is connected to that PC via USB
    - that Canon is also activated as network printer, by allowing print sharing in windows; how did you set that option?
    - now, you are in Mac OS x 10.6.8, downloaded Canon driver for Mac OS X, installed it, detected printer on the network, printer was installed; was it detected as attached to that PC running win XP? or not?
    or you set canon by being connected to your mac directly via USB?
    Now, there are some questions you should answer as some details are missing, and your initial text is not clear. Can you print if Canon is connected directly to your mac? did you try that? if not, do it before answering.

  • Why can I not print from pages but can if I copy to text edit, I get "printer off line message " from pages ?

    Why can I not print from pages but can if I copy to text edit, I get "printer off line message " from pages ?  I use HP wireless printer .

    Are you sure you have the right printer?
    In UNIX/OSX printers are virtual links to devices and even with the same name can be trying to reach a printer via another network address, so it thinks it is another printer.
    Peter

  • 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

  • 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

  • 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

  • Found 0 results for My browser is missing important items, the whole tool bar...., drop down menu to print, copy, work off line, file, save, book mark, history. I just installed latest foxfire on windows xp. Found some instructions but they called for usi

    Found 0 results for My browser is missing important items, the whole tool bar...., drop down menu to print, copy, work off line, file, save, book mark, history. I just installed latest foxfire on windows xp. Found some instructions but they called for using keys my computer doesn't have ( key in OSX There is no file, edit , history, help, tools, navigation, all the things your directions say to use. Also I always get hung up and the message a scrip is running. I don't know what thises scrips are but I sure don't need them.
    == This happened ==
    Every time Firefox opened
    == I just noticed it. It probably happened when I upgraded foxfire.

    <u>'''Can't see the Menu Bar'''</u> (File, Edit, View, History, Bookmarks, Tools, Help)?
    Turning the Menu Bar on and off is a new feature in version 3.6.
    ''(Linux & OSX see: [[Menu bar is missing]] )''
    <u>''Windows'' Method 1.</u> '''''Hold down''''' the key and press the following letters in this exact order: V T M
    <u>''Windows'' Method 2.</u> Press and release the key. The Menu Bar will be displayed; then choose ~~red:V~~iew > ~~red:T~~oolbars and click on ~~red:M~~enu Bar.
    The Menu Bar should now be displayed permanently, unless you turn it off again using View > Toolbars. Check mark = displayed, NO check mark = not displayed.
    See: http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    <u>'''Navigation Toolbar, Bookmarks Toolbar and other Toolbars'''</u> under View > Toolbars. Clicking on one of them will place a check mark (display) or remove the check mark (not displayed).
    <u>'''To display the Status Bar'''</u>, View, then click Status bar to place a check mark (display) or remove the check mark (not displayed).
    <u>'''Full Screen mode'''</u>
    http://kb.mozillazine.org/Netbooks#Full_screen
    Also see:
    ''' [[Back and forward or other toolbar buttons are missing]]'''
    '''[[Navigation Toolbar items]]'''

  • 1099 misc - Printing Copy C from General Witholding

    Hi!!
    I have configured the system and applied both the notes specified for 2010. My Copy A for 1099 Misc is getting printed and my Copy B is getting printed. My problem is I am not able to determine  how to print the Copy C. SAP notes images are only for Copy B.
    Any help is appreciated

    Hello Rupendra,
    When running the 1099's, you can do a print preview. In the print preview, there is a "Suppress/Display Background Graphics" push button that toggles between displaying the form and not displaying the form. What needs to be done is to send the 1099 to the print spooler without the background graphics. This only prints the data. Then you print the data on pre-printed Copy A, Copy B, and Copy 1. ...

  • SAPscript getting printed multiple times.

    Hi Folks,
          I got a strange problem , when we are try to print a SAPscript it is getting printed 5 times.
    We cant understand why it is happening because I checked everywhere and I found everything to be fine. This script is absolutely working fine in the quality server but in the production it is getting printed 5 times.
    Regards.

    Hi santosh,
    Please check out FM OPEN_FORM & CLOSE_FORM .
    Degug script once again.
    Did you try to copy your first-page to one named 'next' and set this next-page as follow-up of first .
    Cheers,
    Pravin s

  • About printed copy of certificate ...

    Greetings everyone ...
    I achieved the (Oracle PL/SQL Developer Certified Associate) and I downloaded the eCerticate and the logo from my certView page. I read about the Oracle logo usage guidelines but I didn't understand how to use the logo! Plus I didn't get an email notification on how to order a printed copy of the certificate and I don't know if oracle still send the card (like an id with the name of the certificate and the person who achieved it).
    So should I order for a printed copy of the certificate or the eCerticate with the logo should be enough? and how to order the printed one? and does it really take up to 8 weeks?!
    Thank you very much in advance and I'm looking forward for your reply ...
    Best regards,
    Ahmed Nusair

    The OCA certifications do not have the card.  Only OCP, OCE, and OCM certifications.
    I have a bunch of printed certificates.  They are all sitting in a file cabinet and see the light of day only when I pull the folder out to add a new one.  You don't carry them to interviews -- employers never ask to see them.  What would you do with it if you got it?  In the US -- receiving a certificate normally takes just a few days.  Overseas, yes, it can take the full eight weeks depending on the mail service of the countries involved.
    I've never actually used the logos for anything.  I suppose I could put them on my resume.  I don't use business cards.  They really mean little to me.
    The real value of the certifications is in what you learn while studying for them.  Once you have them, add the certification to your resume and LinkedIn page so that prospective employers can see that you have achieved them.  If employers ask you to verify your credentials, CertView has a capability to email credentials to 3rd parties.  That's a better way of verifying your certification status to employers than the paper certificate in any event.

  • When printing/copying pages come out blank on hp psc 2175

    When I print or copy the printer processes a page like it is printing but the pages are blank.  The ink cartridges are new and the print head (?) goes across the page like it is printing.  The printer is an hp psc 2175 and I am using windows 7.  The last thing I did on this printer before it would not print/copy was to scan several documents using Windows Live Photo Gallery and this scanned correctly.  What can I do to get it to print/copy again?
    Thanks!
    This question was solved.
    View Solution.

    When the printer is not printing black ink and printing out blank sheets ... beware the cartidge sometimes does not insert in proper alignment even though you hear the click. Look closely at the cartridge after you insert it. Make sure it is not slightly tilted. And make sure it is dead center, not further to one side than the other because it will not make proper contact. Also 2 more good suggestions here... http://h30434.www3.hp.com/t5/Ink-Toner-Cartridge-Printhead/HP-Officejet-6500-Wireless-will-not-print...
    PS- the HP 1210 will print without the color cartridge installed!
    Also it is not that hard to refill cartridges yourself. Look how much ink you get for so cheap... http://www.amazon.com/gp/search?ie=UTF8&tag=ie8search-20&index=blended&linkCode=qs&camp=1789&creativ...
    --ThatPat

  • Which Funtion module can get print parameter in the background?

    Hi all,
    I know the FM"GET_PRINT_PARAMETERS"can get the print parameter, but I find it can't get the print parameter in background. Does anybody know Which Funtion module can get print parameter in the background?
    Thanks in advance!
    Nina

    Hi Nina,
    This is text copied from SAP HELP.
    FU GET_PRINT_PARAMETERS
    Text
        Read, determine, change spool print parameters and archive parameters
      Functionality
        The function module GET_PRINT_PARAMETERS is used to define, modify and
        display the print and archive parameters. Using this function module is
        the only correct way to modify a print or archive parameter record. The
        print parameters are closely related and contain a check total. This
        check total becomes invalid if any of the print parameters are changed
        and causes a runtime error when the print parameters are used later.
        The module recognizes the following modes (values of parameter MODE):
        'PARAM'              Normal case. Define the print parameters for the
                             current program. The values that are not defined
                             are specified from the user master record or are
                             assigned default values. The print parameter screen
                             displays the PRINT key. This mode is used
                             if the MODE parameter is not specified.
        'PARAMSEL'           Like PARAMS, except that the print parameter screen
                             includes an option to activate the selection
        screen.
        'BATCH'              Define the print parameters for a background job.
                             In this mode, the name of the report to be started
                             is passed with the REPORT parameter.The REPORT
                             statement of the specified report is checked for
                             LINE-SIZE and LINE-COUNT definitions. These
                             definitions are passed as default specifications.
                             Furthermore, the SAVE key is offered
                             instead of the PRINT key in this mode.
    Check the BATCH MODE.

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

  • Regarding print copy

    Dear Experts.
    I have taken a print out from the smart form.Page Format is DINA4. at left side i have taken 0.50CM margin and at right side I have taken 1Cm margin.Means after the 20th CM(width) the line should come.But I am not getting the line In the print copy.But in print preview i am able to see dat line.Plz suggest me how to come across this.
    Regards,
    Chitty.

    Hi I have given the border already.In print preview am able to see dat line but in print copy not coming.
    Page left margin is coming but only the right side margin not coming.
    Regards,
    Chitty.

Maybe you are looking for