Problem printing duplex even though it's saved in the Crystal Report.

I'm using VS.NET 2010 with Crystal Reports 13.0.10.1385
We have a set of Crystal Reports that were created with Crystal 8.5 and they print duplex and the printer and printer preferences are saved with each Crystal Report.
The problem is this, I'm pulling in these reports to my VS.NET 2010 Project using Crystal Report Viewer and it will not keep the printer preferences when you print the report.  Why, it works using VB6.0?  The only way I can get it to print duplex is to manually set the printer preferences before printing the report.

Hi Bill,
Update the reports to CR 2011 or above then that info should be saved. If not add this line of code to your app:
rpt.PrintOptions.PrinterDuplex = PrinterDuplex.Default; // you can change the last value
Or if using RAS use this:
CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions RASPO = new CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions();
RASPO.PrinterDuplex = CrPrinterDuplexEnum.crPrinterDuplexSimplex;
And comparing RDC to .NET doesn't work. RDC used COM and DEVMODE, .NET uses the System.Printer API set.
Don

Similar Messages

  • Print Button Not Working if i not inital the Crystal Report Viewer

    hiii every body here
    i have problem on my web application with framework (4.0)
    i use crystal report viewer (crystal report 13) and i installed the engine of crystal report and use dataset as datasource to my report and my report work fine but ....
    my problem is :
    i cannot export or print my crystal report 13 if i put my code on sub like that :
    protected void btn_print_Click ( object sender , EventArgs e )
                SP_testTableAdapter adpter = new SP_testTableAdapter();
                adpter.Fill(ds.SP_test);
                Reports.Learning.CrystalReports.CR_testreport my_report = new Reports.Learning.CrystalReports.CR_testreport();
                my_report.SetDataSource(ds);
                CrystalReportViewer1.ReportSource = my_report;
                CrystalReportViewer1.DataBind();
    when i use this i cannot print or export it say to me login to database fail message although i use dataset not direct database connection that mean it not need to give the report source every use of it the connection of my server details like username , password
    but if i put this code to my page load the report run and showing and print correctly , i need to can use print,export and every button on reportviewer toolbar
    without put the code that display report on page_load i need to put code on button event only and when i click the button it show the report and can print and export , and not need to use sesssion
    need help plz ................

    An assumption here is that this is a web app. That being the case, you need to worry about post backs when you print or export. E.g.; almost any action the viewer will cause a post back and thus what ever data you sent to the report is now forgotten. Place the report in session and this will eliminate the issue. Search for KBA 1985571. I document the full code needed there.
    - Ludek

  • C6180 printer offline even though it's connected to the network.

    My c6180 printer won't connect with my computer. I went through the network settings on the printer itself and the settings on the printer itself show that it's connected to my router.  But when I try to send a document to the printer, my computer shows that the printer is offline. How do I get it back online?

    I would take a look at the document below it should help resolve your issue.
    Printer Offline
    Let me know how it goes.

  • I want to print iCal with Mondays in the left hand side column. My calendar prints with Tuesday in the left hand column even though it displays Mondays in the left hand column when in normal use.

    I want to print iCal with Mondays in the left hand side column. My calendar prints with Tuesday in the left hand column even though it displays Mondays in the left hand column when in normal use.

    Thank you for your advice, it works.  I have struggled for hours to find the solution I am very grateful.

  • PS CS4 wants a printer installed even though I can print some files.

    I have PS CS4 on Windows 7. I can print some files but not all. On the ones that I can't print PS is telling me I need to install a printer 1st even though I can printer others. I have tried to rasterize and/or flatten the files and it still says the same thing. I have created a new preferences file, by renaming the old in my program files,  and it still does the same thing. I have also printed the same photos in Microsoft Picture Viewer. So, the printer can see the file and print it. It's a Brother MFC 9460cdn.  I've used the troubleshooting guide thus far and done all i thought or seemed pertinant - except.... As a newbie, I've not not figured out how to create a new file to copy the rasterized, or layers for that matter, to a new project. I can't seem to figure out size settings and duplicating.  These are files that came with a business and for some reason only about half will print the other are stuck needing a printer installed...LOL
    Please HELP
    Thank you,

    Hi timcasey-
    I recommend you read this Support article on troubleshooting printing issues:
    [[Firefox prints incorrectly]]
    Hope that helps.

  • "Add a Printer" can't locate my printer software even though it has been downloaded to the hard drive. How can I guide it to the software?

    "Add a Printer" can't locate my printer software even though it has been downloaded to the hard drive. How can I guide it to the software?

    What did you download and from where?  Most downloads go to your Home/User/Downloads folder unless you've specified a different location in your browser. 
    If you downloaded the drivers from the App Store the drivers will be installed automatically and all you need to do is go to the System/Printers & Scanners preference pane as described below.
    You will have to install the drivers after downloading the installer package.  Lastly go to the System/Printers & Scanners preference pane and add the printer there.  It will automatically locate the drivers and set it up.

  • I type information on a form and submit. I get an error message that the information is missing even though I see it on the form. How can I resolve this problem?

    I type information on a form and click submit. I get an error message that states that the information is missing even though I see it on the form. (Error message: Please type valid first name). How can I resolve?
    == URL of affected sites ==
    http://https://ushsbc71.recruitmax.com/MAIN/CareerPortal/candidate_update.cfm?szOrderID=88393&szCoverLetter=yes

    Please see [[Use the Adobe Reader plugin to view or download PDF files]]

  • My MacBook Pro will not open any application or program that requires internet, even though I am connected to the web.

    My MacBook Pro will not open any app or program that requires Internet, even though I am connected to the web. I recently installed Norton AntiVirus and think it may have changed a setting that I couldn't find. I uninstalled Norton and it didn't help. Every time I open Safari, iTunes or any other program that tries to connect to the Internet, it crashes. Strangely enough, Skype still works, but nothing else.
    I have OSx 10.6.8.
    I have tried erasing plists, and all the standard troubleshooting, ie resetting modem, restarting computer, reloading Safari from disk.
    Any help would be greatly appreciated. Thank you in advance.

    Change your router channel.  Sometimes this is all you will have to do.
    Power cycling the router.  Read the router's user manual or contact their tech support for instructions.
    System Preferences/Internet & Network/Network
    Unlock the padlock
    Locations:  Automatic
    Highlight Airport
    Click the Assist Me button
    In the popup window click the Diagnostic button.
    System Preferences/Network- Unlock padlock.  Highlight Airport.  Network Name-select your name.  Click on the Advanced button.  Airport/Preferred Networks-delete all that is not your network.
    Place a check mark next to "Remember networks this computer has joined."  Click the OK button and lock the padlock.  Restart your computer.
    http://support.apple.com/kb/TS1920 Mac OS: How to release and renew a DHCP lease
    No internet connection (wireless)
    Check to see if an extra entry is present in the DNS Tab for your wireless connection (System Preferences/Network/Airport/Advanced/DNS).
    Delete all extra entries that you find.
    Place a check mark next to "Remember networks this computer has joined."
    Other resources to check into:
    Troubleshooting Wi-Fi issues in OS X Lion and Mac OS X v10.6
    Netspot
    How to diagnose and resolve Wi-Fi slow-downs
    Pv6 troubleshooting
    Mac OS X 10.6 Help:  Solving problems with connecting to the Internet
    What Affects Wireless Internet?
    Solutions for connecting to the Internet, setting up a small network, and troubleshooting
    I uninstalled Norton and it didn't help.
    To properly uninstall Norton software follow these instructions - Locate Symantic Solutions folder inside the Applications folder at the root level of your HD, launch the Symantec Uninstaller application, select the Symantec AntiVirus Corporate, Norton AntiVirus & Norton AntiVirus Auto-Protect entries and click the Uninstall button. 
    Confirm your decision when prompted and then enter your administrator password in the space provided.
    Retart your computer & Norton should be gone for good.
    If the above does not work, download a copy of Symantec’s RemoveSymantecMacFiles removal utility.  This utility will launch Terminal & remove the Norton components.

  • Double contacts as "iPhone"...my phone saves the same number twice, once with a 1 before the area code and one without it. It causes two different threads in my texts even of they're saved as the same contact

    my phone saves the same number twice, once with a 1 before the area code and one without it. It causes two different threads in my texts even of they're saved as the same contact

    My wife is having the same problems as a reciever. She works in a school as a teaching assistant and her teacher sends messages that are mixed with previous texts from ages ago.
    Can anyone shed some light on this problem or is it only her and this poster?
    2m42s

  • My screen keeps fliping upside down , even though I have not turned the i pad

    My screen keeps "flipping" upside down even though I have not turned the I pad

    bmwdr -
    I have reported this problem from the beginning of the MBP release back in February.
    They have not solved it during any of my repairs.
    I have found the following helps, but does not solve:
    1. Disconnecting and reconnecting the magsafe power adapter
    2. Resetting your PMU
    3. Locking your Energy settings by clicking the lock in the lower left hand corner
    It seems to be a software bug that is somehow potentially related to the screen saver. When you shut your screen saver off... it sometimes disappears.

  • I am running out of hard drive space so I clear 32GB of space at midnight, went to bed. When I wokle up I had no space left even though I had not used the computer, the system.lg is FULL of stuff and I have no HD space anymore? What's eating it up?

    I am running out of hard drive space so I clear 32GB of space at midnight and went to bed.
    When I wokle up I had no space left even though I had not used the computer, the system.lg is FULL of stuff and I have no HD space anymore?
    What's eating it up?

    WORD TO THE WISE
    the OmniDiskSweeper was a very helpful download, because it laid out the HD and all the files on it in a "largest to smallest" fashion. When I did this I found that I had an inordinate amount of memory being taken up in my Mail Data folder, this did not make much sense so when I dug deeper I found that a 59MB scanned file that I had emailed 3 weeks ago had not been delivered, so the computer was retrying every minute and saving the history of what it was doing, so it was saving the 59MB file as well as the log about the 59MB file and hence for the last 3 weeks it's been chewing away at HD space recording the activity of the undeliverable file.
    I deleted the Data record folders and removed the yahoo account from My Mail and reinstalled it with proper IMAP information and the HD is secure and holding at 331GB of free space. Like it ought to be.
    I love the fact that if something very strange is happpening on your MAC there is a REASON....find it and fix it, and move on. In the PC world you would reboot 20 times, call some guy in India who will ony try to sell you a new subscription or warranty for $99 and never solve anything.
    I am at rest once more, thanks for the tip

  • ICloud keeps asking my password and it always comes out incorrect even though i know i input the right one. When i tried to reset the password by email, nothing was sent to me. Tried it again thru security settings, they asked for my birthdate but st

    Please help!!! iCloud keeps asking my password and it always comes out incorrect even though i know i input the right one. When i tried to reset the password by email (many times already), nothing was sent to me. Tried it again thru security settings, they asked for my birthdate but still, it's incorrect! anyone have the same problem?

    Hi, 
    Thank you for visiting Apple Support Communities.  
    I would recommend reaching out to our Apple ID Account Security team to assist you with this issue.
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Cheers,
    Jason H.

  • Every time i press enter, my keyboard keeps typing backslash even though i am not holding the backslash key

    Every time i press enter, my keyboard keeps typing backslash even though i am not holding the backslash key. Help.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • How can I get my ES2 loops to play correctly? I keep getting the message that the audio is not found when I drag the loops from my audio browser even though they play fine in the preview.

    How can I get my ES2 loops to play correctly? I keep getting the message that the audio is not found when I drag the loops from my audio browser even though they play fine in the preview.

    It's exactly as I stated. Whenever I try to drag these kinds of loops (ESX24 / software instrument loops? the ones marked in green with the white music note next to them) from the loop browser into the timeline a message comes up saying Audio Not Found for that loop.  And a new track is created automatically when loops are dragged into the timeline, so I'm not creating some other random / synth instrument track so I'm not sure  what the deal is... But perhaps I'll try creating a software instrument track first and then drag the loop into that track and see what happens - maybe there's something with the default settings that automatically creates audio tracks whenever loops are imported?

  • I changed my Apple ID two weeks ago and I Accidently forgot to sign out of my iCloud on my iPhone 5C. now it wont let me change the iCloud ID to match my new Apple ID. How do I change my iCloud ID even though it is asking for the old ID?

    I changed my Apple ID two weeks ago and I accidently forgot to sign out of my iCloud on my iPhone 5C. Now it wont let me change the iCloud ID to match my new Apple ID. How do I change my iCloud ID even though it is asking for the old ID?

    If the old ID is an earlier version of your current ID, temporarily recreate the old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iPhone when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

Maybe you are looking for