Number of copies with setCollated does not work if PageRange is not set
I have a report which results are printed on 2 pages. If i set PrintReportOptions like below:
PrintReportOptions printOptions = new PrintReportOptions();
printOptions.setPrinterName( targetPrinter );
printOptions.setNumberOfCopies( 2 );
printOptions.setCollated( true );
printCntrl.printReport( printOptions );
I get ONLY one copy, other pages are not printed. So instead of getting 2 x 2 pages with order 1,2 1,2 i am getting only 1,2 so it seems that number of copies is not interpreted.
When i add a setup of a page range - everything works as excepted.
PrintReportOptions printOptions = new PrintReportOptions();
printOptions.setPrinterName( targetPrinter );
printOptions.setNumberOfCopies( 2 );
printOptions.setCollated( true );
PrintReportOptions.PageRange printPageRange = new PrintReportOptions.PageRange( 1, 2 );
printOptions.addPrinterPageRange( printPageRange );
printCntrl.printReport( printOptions );
But how can i find on how many pages report will be printed? - it's impossible. I thought that maybe i can set 100 as the upper limit of range but this doesn't work. The page range must be less or equal to the number of pages on which report will be printed.
When I am not using method setCollated or use it with false report is printed on desired number of pages and with expected amount of copies. ( in order 1,1 2,2 ) . Here is the code:
PrintReportOptions printOptions = new PrintReportOptions();
printOptions.setPrinterName( targetPrinter );
printOptions.setNumberOfCopies( 2 );
printOptions.setCollated( false );
printCntrl.printReport( printOptions );
I suspect that this is a bug of CR Java runtime. If so, when we may expect that it will be fixed?
Hello.
I tested with the latest version of the Crystal Report runtime libraries (version 12.2.211) and it works for me as expected.
What I would suggest is that you test your application using the latest version 12.2.211 and see if this resolves the problem. Since it works for me on this latest version, I would expect that it would work for you as well. The latest version can be found at the following link under the section "Runtime Libraries":
http://www.businessobjects.com/campaigns/forms/downloads/crystal/eclipse/datasave.asp
A direct link to the zip file that contains the runtime components can be obtained from the following link:
http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/crjava-runtime_12.2.211.zip
If you are still experiencing problems after using the 12.2.211 runtime components, then maybe it is the case that your printer driver is causing an issue. The printer that I printed on is "HP Universal Printing PCL 5 (v5.1)".
I hope that updating the Crystal Reports runtime version to the latest resolves your problem.
Best of luck.
Regards.
- Robert
Similar Messages
-
I downloaded A software to your computer. And I connected with my iPhone. Main pagedoes not work. I can not see it. Iitnos Store does not cost me why?
Your posting makes no sense in the English language. Please post in your native language.
-
After installing acrobat my Microsoft office package does not work properly, word will not open and when I want to write an email in my outlook email i can't select anything with the mouse. so copy past en delete are not an option.@
Are you using any MS Office third party Add-ins? Test: Remove third party Add-ins other than PDFMaker. Test to see if the MS Office apps run afterward.
Did you attempt to repair MS Office? Test: Go to Add/Remove Control Panel run Repair.
Finally, have you tried testing to see if it's PDFMaker? Test: Use the Add/Remove Control Panel to modify the Acrobat installation to remove PDFMaker. See if MS Office applications launch and behave correctly? -
After upgrading to OS 10.9.1 Aperature 3.2.3 does not work and I have not been able to download upgrade of Aperature?
Is Aperture installed in the "Application"s folder and simply named Aperture? If not, move it back to "Applications". Did you buy Aperture from the App Store or as a boxed Retail version?
Relaunch the App Store and sign in with your Apple ID (in the Store menu). Reload the "Purchased" page of the App Store. Do see Aperture on the Purchased tab or perhaps the "Accept" portion of the "Purchased" page? If in the "Accept" portion, accept it to your AppleID and install it. Else look again at the Update page.
For some forum members the update did only appear until after setting the primary system language to English and rebooting the Mac. This bug is supposed to have been fixed with the update to 10.9.1, but try it, if all else should fail. -
my ipod touch 5th generation is not turning on and i cant restart it because the home button does not work and it will not connect to anything
Get it fixed then, make an appointment with the Apple genius bar.
-
I just upgraded my Mackbook (late 2007) into X Lion , but the Multi Touch gestures is not working. Is this not compatible with my Macbook?
jimmyfromdubai wrote:
... do I need to buy a new MAC office?
A better solution is to try a number of better, free alternatives. Consider
LibreOffice (donation-supported)
NeoOffice (free)
OpenOffice (free)
I use Apple's Pages ($19.99) as well as OpenOffice and have been completely Microsoft - free for over a year now. Life is better without Microsoft. -
Own an Ipad1. Recently, my imessage does not work and i am not able to log in using my existing name and passwrd. However, this existing username and password can be used to login into my itunes etc.
How do I resolve this? TqIf the problem persists, you'll probably have to make another apple id, it wont take off any games or music or apps or anything you've bought it will all stay there, i have two apple id's and i don't have a problem with anything.
-
I used to shoot video in my Powershot S3 IS (Format MVI_.AVI) and load them into iPhoto, I used quicktime pro so I could convert for emailing to family members. That was when I was running Leopard now with Mt. Lion nothing works. Videos do not open at all. Any simple suggestions, I am not real keen on iMovie Productions and not real certain how they compress for emailing attachments. Something simple here that I am missing? Thanks so much. I am a grandpa trying to share with family members far away (quickly & simply).
I am surprised that Apple did not build a converter into Mt. Lion.
Apple does have a converter built into Mountain Lion. It is call "Quicktime." However, in order to use this converter, you must first make sure the compression formats are playback compatible with QT. Basically, there are three levels of QT compatibility. The lowest is "Playback." These file can be played by QT but may not be conversion or edit compatible with QT. The second level is QT "Conversion" compatible. These files are playback compatible and can be converted to other compression formats using QT. "Edit" compatible media files are "Fully" compatible with QT since the can be played, converted and/or edited by QT. The main problem here is that AVI is a "legacy" file format that has not been officially supported by Microsoft for more than 11 years when it was replaced by Windows Media multimedia file/compression formats. Many of the original compression formats used in AVI files have never been transcoded for the Mac platform, use beyond system 9, or use beyond PPC platforms. In addition, some commonly used AVI codecs are proprietary or use non-standard (hybrid) profile and level combinations. In short, there is little wonder that Apple has been distancing itself from this outdated file type as it re-writes and upgrades its own QT structure to support more standardized, more scalable, more modern high definition file types and compression formats. It is really unfortunate that users continue to use this outmoded file type simply because it is freely available, easy to use, or they are simply too lazy to move on to a more modern or more efficient file types and/or compression formats.
I tested Wondershare Video Converter Ultimate for the Mac, which seems to be the "state of the art". I may be purchasing a new camera which might create a whole new set of variables. This program seems to cover all bases and is great for novices.
There are many third-party apps available if you wish to search for them. Many are even available in the App Store. Most do their job well and it is usually a matter of personal user preference as to which is best.
HandBrake seems more suited to folks with more experience and knowledge.
I mentioned Handbrake primarily because it is free and easy to use when you employ the included conversion presets options. (The TV options can normally be used for almost any situation depending on the source file and output requirements.) It is also excellent for more experienced users, but has a somewhat limited choice of output options as it does not access the user's system QT codec component configuration. -
I have created my site with Muse and have uploaded to an external ftp hosting, now my secure log in will not work because I am not using BC. Is there a way to create a secure log in that will work with out being forced to use BC?
Hi
Secure Zone login feature will only work if you host your website with Business catalyst.
Please take a look to this as an alternative
Password Protect Pages Widget for Adobe Muse
Also, check this thread,
Re: Can I create a login/password protection in Muse for a HTML5 page or two? -
I moved from the UK to Sweden. My trial expired in the UK but I was not able to purchase CC in Sweden for some reason. I was told to create a new account in Sweden with a new Adobe ID. When I did, the trial downloads did not work and I could not purchase the CC at discount price.
Moving this discussion to the Adobe Creative Cloud forum.
Kriskristferson if you are facing difficulties with your order then please contact our support team directly at Contact Customer Care. -
I just signed up for a subscription to adobe reader paying EUR 24.40.
The program does not work, and I can not even go to my personal page .... help ...?Adobe Reader is free; it does not require a subscription.
Did you subscribe to an online service like ExportPDF, PDF Pack, ...?
What exactly does "not work" mean? -
I bought the external DVD player/burner for my Macbook. I tried using it with my Dell laptop but it will not work. Is it not configured to work with anything but apple operating systems?
If you purchased the Apple USB SuperDrive, it will only work with select Apple devices. It won't work, for example, on my Late 2011 model that has a SuperDrive built-in, but it will work with an Air, Retina model, new 'drive-less' iMacs, etc.
As far as I know, though, you can only hack the drive to work with some other Apple devices, but not with Windows PCs. Which is a shame as other, less expensive DVD/CD devices will work with just about any machine.
Sorry,
Clinton -
hi
Hello
Since yesterday evening. My itunse program does not work my mobile.
Note
I update the program to ios7
Please help me
Thank youI found this strange glitch that wouldn't let me open my iTunes Store. I tried all the reset options and still iTunes would close a second after it opened. I fixed this. Instead of using the iTunes Store icon on your home page to open it. Go into music and click on store. It will say "Cannot Connect To Store". Just tap ok. Then tap on "featured" on the bottom of the screen. That will take you to the store front page. After that is loaded. Back out and the icon for iTunes Store on the home page should work just fine. Hope that helps.
-
How do I activate Acrobat XPro- I've installed CS6 Premium on my computer and Acrobat does not work and says its not activated. It is listed on the programs on the computer but will not respond. How do I fix this?????? Help Adobe?????
Hi t0m#2410,
How did you install Acrobat, did you install it as a part of Suite installation.
If it is a part of suite then deactivate suite uninstall Acrobat, Reinstall Acrobat using Suite media. Launch Photoshop first and Activate.
Then try launch Acrobat.
Regards,
Ajlan Huda. -
my i4s wifi button is not working. when i opened the setting and then wifi the button is greyed out. then i opened general and then about. in the bar of wifi address it is written N/A. what does its mean. i have done all other things like setting >general<reset<reset network setting. but all in vain. tell me the solution
restore your phone as new through itunes. if the issue persists after a factory restore via itunes, it means you've got a hardware issue and the phone needs to be repaired
Maybe you are looking for
-
hello, i am a fresher in jsp. i want to add new rows in html table dynamically.In my coding, just only shows in one row . please help my problem with correct coding and i don't want to use database. Thanks ...............! Here is my coding----------
-
Transformation of german characters using xsl
Hi, I have an xml which contains german characters .. i apply an xsl on the xml to get an html output using xalan. and the german character is converted to "?". When i try converting this using a stand alone java client class it successfully transfor
-
Toolbar icons just keep magically reappearing....
Quite possibly related to my continuing saga of how to get FF to sync reliably between my devices (thread: here http://tinyurl.com/k6p3s37), I deleted all the misbehaving icons. That seemed to solve 95% of the problem, at the cost of deleting the boo
-
Project Management ' unable to delete project set'
Hi we are using oracle11i (11.5.10.2) on windows 2000 server service pack 4,database version 10.2.0.3 and Oracle Project patch set Level 11i.PA.L while deleting prject sets we are getting error 'you have gained access to this page using the browser n
-
External HD Boot fails with Snow Leopard
When I try to boot from an external HD with 10.6 installed I get a kernel panic "unable to find a driver for this platform". My internal drive has 10.7 installed. Any suggestions as to how to resolve the issue? Here's a bit of background. I have some