Does anyone know how to discard printer information from a report?

Hello all,
We've got several reports in which printer info is saved in the report.
We would like to remove that info programmatically from the report.
Does anyone how to do that and to save this modified info to the report?
I would be pleased to be given a code example.
I guess it should be something like the fragment below, but saving this to the report doesn't seem to be doable.
printOptions.SavedDriverName = printOptions.DriverName = "DISPLAY";
printOptions.SavedPortName = printOptions.PortName = string.Empty;
printOptions.SavedPrinterName = printOptions.PrinterName = string.Empty;
printOptions.PaperSize = CrPaperSizeEnum.crPaperSizeDefault;
printOptions.PaperOrientation = CrPaperOrientationEnum.crPaperOrientationDefault;
printOptions.PaperSource = CrPaperSourceEnum.crPaperSourceAuto;
report.ReportClientDocument.PrintOutputController.ModifyPrintOptions(printOptions);
report.ReportClientDocument.PrintOutputController.ModifyPrinterName(string.Empty);
report.ReportClientDocument.PrintOutputController.ModifyPageMargins(0, 0, 0, 0);
report.ReportClientDocument.PrintOutputController.ModifyPaperOrientation(CrPaperOrientationEnum.crPaperOrientationDefault);
Thanks,
Henk Spaan.

Hello Henk,
You could simply check the 'No Printer' option in the report.
From designer check File --> Page Setup --> No Printer.
Or do it programatically.
http://scn.sap.com/community/crystal-reports-for-visual-studio/blog/2010/09/15/how-to-check-no-printer-on-a-crystal-report-using-the-ras-sdk-in-net
- Bhushan
Senior Engineer
SAP Active Global Support
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Getting started and moving ahead with Crystal Reports .NET applications.

Similar Messages

  • HT5824 Does anyone know how to transfer my contacts from my iphone onto my icloud that is on my laptop please? I have lokd and tryed everything and still i have no idea how to do it.Yur help would be apreiated.thanks

    Does anyone know how to transfer my contacts from my iphone onto my i cloud please? I cnnot do it no more s they have made something so simple to do into a task that seems so omplicated.ive tryed ooads and now im starting to loose my cool.Thanks if you can help.I bet it's really easy to do,but im not seing it clearly.

    On your Mac.
    Sign into iCloud, turn Contacts and anything else you want, on.

  • Does anyone know how to copy my files from my ipod to a different computer?

    Does anyone know how to copy my files from my ipod to a different computer? I tried to do it, but all that it did was erase my files. What i want to to is use my ipod to transfer my files to another computer (which has itunes as well) PLEASE help!

    You will need to enable your iPod for disk use. Then, you should see your iPod in "My Computer" and you can open up your iPod's folder there and drag the files into it. You can store the files on the iPod, then connect it to the other computer and drag-and-drop them from the iPod into the designated directory in that computer. Make sure individual files are not larger than 4 GB.

  • HT2500 Does anyone know how to remove a group from the address panel in mail?

    Does anyone know how to remove a group from the address panel in mail?

    I haven't seen too many questions like this on this forum.  Did you also try the photoshop forums?

  • Does anyone know how to convert the output from the standard report to xml?

    Does anyone know how to convert the output from the standard SAP report to xml?

    since it a standard report which you cannot modify you can only do the following.
    submit report exporting list to memory
    then
    list from memory and then
    use the returned itab along with CALL TRNSFORMATION key word to convert to xml.
    but this only going to place the whole list content (including data and formating lines,etc) into a xml element and not the actual data alone in the list .

  • Does anyone know how to transfer a playlist from an ipod to itunes?

    does anyone know how to transfer a playlist from an ipod to itunes?

    Try my script ImportDevicePlaylists.
    tt2

  • HT204387 Does anyone know how to transfer a contact from an iPhone 5 via bluetooth to a car stereo?

    Does anyone know how to transfer a contact from an iPhone 5 via bluetooth to a car stereo?

    Your stereo must support PBAP(Phone Book Access Profile).

  • Does anyone know how to transfer music ratings from my iPhone 4S to my computer (Lenovo)?

    Does anyone know how to transfer music ratings from my iPhone 4S to my computer (Lenovo)?

    Sync it via iTunes.  Playcounts and ratings are transferred during the sync process.

  • Does anyone know how to transfer my data from iphone to my new laptop?

    Does anyone know how to transfer my data from iphone to my new laptop?

    The iphone is not a storage/backup device.
    You need to copy everyhting from your old computer, or your backup copy of your old computer, to your new one.

  • I just updated the software on my iPhone to the ios5. I've gotten everything to synce but my ringtones. Does anyone know how to get my ringtones from my iTunes onto my iPhone???

    I just updated the software on my iPhone to the ios5. I've gotten everything to synce but my ringtones. Does anyone know how to get my ringtones from my iTunes onto my iPhone???

    Try this thread >  http://www.mac-forums.com/forums/ios-apps/253296-ios-5-not-syncing-purchased-rin gtones.html
    edit by: cs

  • Does anyone know how to load a file from the source directory?

    I have a Photoshop panel  that uses the Texturizer function. I would like to use the images in the src images directory of the  project. I need to reference the /src/images directory of the panel when the project is running.
    Does anyone know how to access the source directory using action script?
    I have tried a number of options but only seems to work if I hard code a location
    public static function Mat02(): void
    // Works
    var myTexture:File = new File("C:\\Users\\Ed\\Adobe Flash Builder 4.6\\LayoutBuilderSuite\\src\\images\\mat 02.psd");
    // Tried - no luck
    //          var file = File.applicationStorageDirectory.resolvePath("mat 02.psd");
    //          var file:File = File.applicationDirectory.resolvePath("mat 02.psd");
    //var file:File = File.applicationStorageDirectory;
    //file = file.resolvePath("mat 02.psd");
    //var myTexture:File = File.applicationDirectory.resolvePath("mat 02.psd");
    //var myTexture:File = File.documentsDirectory.resolvePath("mat 02.psd");
              var desc5:ActionDescriptor = new ActionDescriptor();
              desc5.putEnumerated( app.charIDToTypeID( "GEfk" ), app.charIDToTypeID( "GEft" ), app.charIDToTypeID( "Txtz" ) );
              desc5.putPath( app.charIDToTypeID( "TxtT" ),   myTexture  );
              desc5.putInteger( app.charIDToTypeID( "Scln" ), 150 );
              desc5.putInteger( app.charIDToTypeID( "Rlf " ), 4 );
              desc5.putEnumerated( app.charIDToTypeID( "LghD" ), app.charIDToTypeID( "LghD" ), app.charIDToTypeID( "LDBR" ) );
              desc5.putBoolean( app.charIDToTypeID( "InvT" ), false );
              app.executeAction( app.charIDToTypeID( "GEfc" ), desc5, DialogModes.NO );
    Thanks

    I haven't seen too many questions like this on this forum.  Did you also try the photoshop forums?

  • Does anyone know how to move ePub ebooks from Adobe digital editions to a Kobo?

    Does anyone know how to move ePub ebooks that I've purchased onto my Kobo eReader?  I've tried everything...help from where I bought the books, surfing the net, etc. but even though the book is in the library of my Adobe Digital Editions I can't drag it onto the Kobo library.  The dragging stops at the border of the Adobe site.  I've spent hours and am SO frustrated - hope somebody can help.

    Have you tried contacting Adobe?

  • Does anyone know how to solve my Ipad from blacking out during apps?

    My IPad is blacking out during apps and going back to the main screen.  It will do it in Outlook, Internet as well as games.  Does anyone know how to solve this problem?

    Sometimes its bescause you have to much memory being used up. Id try:
    1. Double tap the home button to bring up the bottom. Hold your finger down on any app until they wiggle. X out of any apps you are not using.
    2. Reboot. Hold the home and power button at the same time. Ignore the red slider. Until the screen goes black and the apple logo appears.
    Try your game or app again. I know if you have a bunch of stuff running in the background, and run a game like infinity blade or a high processing game. The app will close on you.

  • HT2008 Does anyone know how to save an ichat from my iphone to my mac laptop?

    A dear friend of mine passed away, and I want to save an important ichat of ours to my Mac laptop. (I believe part of the ichat an SMS text and part is an ichat but it shows up as one long text over several months). Does anyone know how to do this? I'm running Mac OS X Lion 10.7.4. Thank you very much!

    HI,
    So this is a conversation that is on the iPhone that has taken place over a period of time and has involved SMS  and iChat type Messages.
    I did this on my phone
    Go to Messages
    Go to the conversation you want to "Save"
    Use the Edit top right.
    Scroll the Conversation to the top
    Tap each line you want to send (somewhere)
    Each will get a red tick and the Forward  and Delete option at the bottom become Active.
    Once I had several lines ready I chose the Forward Option and sent them to my Apple ID I use in Messages Beta  (i.e I sent is as an iMessage)
    The result is a single iMessage with all the lines (selected) justified to the left  (it does not separate you and your Buddy's parts)
    Picture
    If your iPhone is in the United States and the Carrier support AIM SMS forwarding you may be able to send it to yourself, in iChat, via that method.
    You may have some luck with http://www.apple.com/itunes/inside-itunes/2010/04/how-to-grab-screenshots-on-iph one-ipad-and-ipod-touch.html
    I have yet to find a way to email the Messages/Conversation.
    7:08 PM      Tuesday; July 17, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Does anyone know how to deactivate a hyperlinks from a PDF exported from Pages?

    I have created a pages doc that I needs to be exported as PDF. In pages, I all the hyperlinks are deactivated, but every time I export it to a PDF the hyperlinks are reactivated. Does anyone know how to make sure the hyperlinks stay deactivated once the doc is converted to a PDF?

    If the links are spelled out (example:http://www.somewebsite.com) and not actual hyperlinks where the links are embedded under regular text, Reader will recognize them as links automatically unless the user has that option turned off (it's on be default). You can't keep that from happening unless the text is an image.

Maybe you are looking for

  • Payment Program - Generate additional clearing documents

    Hi. When executing an FPY1 payment run, say for a contract account. All open items that fall on the same due date are grouped into one payment document. Due to restrictions set by our reserve bank no direct debit may exceed R50000.00. For this reason

  • Help with Spry Detail Regions, XML Data Sets, for IMG gallery

    Hello, I'm working on a site for a friend of mine, a photo gallery. You can see the gallery here, it's a temporary one I'm working on http://www.emiliajozefa.com/a_index.html Here are some important parts of my code: //initially load these data sets.

  • Having problem to check balance.

    I am having a problem to check my balance or any other service involving *x# with my iphone 4s. I am currently using ios 7.0.4. I have tried everything even reset the settings but nothing worked.

  • SharePoint 2013 Performance Report

    The performance of my SharePoint 2013 is horrible.The config is a very simple 2-server config (1x WFE/App & 1xSQL). I am quite convinced the issue is SQL Server Performance, but to justify the spend I need to provide some metrics (not just gut feel).

  • Gmail and Yahoo with Apple mail problem

    Hi, I read Mail help, wouldn't help. I tried many times but couldn't get my gmail and yahoo accounts set up in Mail. what's exactly the Incoming Mail Server of Gmail and Yahoo, and the Outgoing mail Server of these two? How about Hotmail? Every time