I using ireport 4.0.1. I made a receipt print which is more than 297mm but it cuts at exactly at 297mm all the time. Rest of the data are not getting printed. But when i save it as a pdf i could see all the data. I tried with different kinds of printers (Eg: Epson TM20 -Receipt printer) but no positive changes :( I am using "ignored pagination" in my jrxml file. Could someone help me solving it ?
Set your design properties to more then your desired size.
Set your margins to be smaller.
Experiment with the orientation.
As for your printer itself- it should have the exact same settings and property aspects as these.
Note that it is most definetly a setup and size issue and more then likely NOT your printers.
Here is an image of the properties menu in iReport and to open it go to WINDOW on the top bar and click PALETTE.
Your report need to have a report footer and the height is equal to the A4 size.
It fixed my 2 years problem with receipt printing
Related
How can I not split my table into two pieces in the Crystal Reports file.
Thanks
enter image description here
Go to File, Page Setup...
Increase page size.
If default printer doesn't support that page size,, use a different printer.
Or, if you don't intend to print, simply turn on 'Dissociate Formatting Page Size and Printer Paper Size'
I have designed a report in SSRS 2008 with three tablix that display data from different SP. When I designed the report and then previewed it, the report looked perfect. I deployed the report to our report server and viewed it. The report displays the last table with several columns that are either too large or too small. When I then export the report to PDF after I run it on the report server then the report appears the way that I designed it.
Does anyone have an idea what could cause the report to display wrong when it is run but correctly when it is exported to a PDF?
This is pretty common. I struggle with this same issue.
Edit: double check CanGrow and CanShrink on both the cells and tablix. Maybe your is interpreted differently and therefore is larger in web view?
Firstly, you're just going to have to play with your settings until it looks like in all output formats. However, here are a few tips to help:
Don't use rectangles, ever. Everything should be in a tablix cell. You have much finer control and it is less likely to blow up in PDF and web viewer.
Stay away from your margins. I try to keep at least .25"
Watch your padding. If you have top and bottom padding of 4, and your text is 10, but your cell only allows 16, then you're going to have a bad time
Use Ctrl + Mouse Scroll to zoom in and check formatting. This won't show a lot of errors, but it's something to check.
Even though your top cell and top line of the tablix should be identical, they aren't always. I can't tell you why. However, don't put a BorderStyle on both. Sometimes the border doubles up and looks wider in some of the output formats.
Always check all output formats prior to handing your project to QA. If is very common for report formatting to blow up once deployed. I have to double check Portrait vs. Landscape formatting and my borders. I miss that sometimes.
Sometimes font sizes can be interpreted differently. There can be very slight differences that can change the sizes of your cells.
I hope this helps.
This may seem like a stupid question, but I've been looking everywhere to fix this problem and can't seem to find the solution.
So i have a report that is set to a landscape size: 8.5"x11" and i want to set the report to be a legal size: 8.5"x14".
I have gone to page setup and turned on no printer as well as dissociate formatting page size and i have set the page to legal and changed the dimensions to 8.5"x14".
My problem is that the change only shows up in preview mode and i am unable to move the position of the fields in my report in the newly expanded width. So i would like to know if there is a way to change the size of a report in design view or how to position fields outside of the 8.5"x11" dimensions. Or is this not possible?
Any help or suggestions are greatly appreciated.
Thank you.
Quickest answer I can give you:
Load a PDF printer driver. My favorite is CutePDF (except I am ashamed to recommend it at the office... I usually recommend the "MyPrettyPonyPDF").
Once this is loaded, it will look like you have an additional "printer" available. When you select the PDF Driver as printer, you'll have a large selection of add'l page sizes to choose from. The printer I have available has 13 defined paper sizes. With the CutePDF driver, I have 50 defined page sizes. The largest I see is 36in x 108in -- and when you orient that in Landscape, you can camp on it.
Check your margins. The margin area doesn't show up in the Design tab, but would display on the Preview tab. If 'Adjust Automatically' for margins is set, Crystal will just make your margins huge when you dissociate the paper sizes and then increase the horizontal/vertical manually.
Try deselecting 'Adjust Automatically' under the 'Margins' settings, then set 'No Printer', then select a legal paper size. Double check the margins are the size you want and you should be good.
Simplest answer I can think of: try unchecking the No Printer option, set the layout and paper size to Landscape and Legal, and then set the No Printer option on again.
In Crystal Reports 2008, to which I've recently upgraded, I have a new report in which I'm trying to place boxes and lines. The report is Letter, landscape, with .25" margins, so I have 10.5" of space to work with.
Unfortunately, Crystal will only let me place drawing objects in the first 8" of space. If they overlap that range, Crystal sizes them back to 8". If I place them entirely to the right, Crystal moves them back to the 8" mark.
I have the same problem if I try to change the width or position using the Size and Position box.
Sounds like a bug where it's mistaking the available length for the available width.
Any idea how to fix this or work around it?
Old thread i know but here is the correct answer/fix.
The issue with only being able to draw a line so far across the report is due the the ruler at the top not extending along the full length of the report page.
This in turn is down to the default printer that is selected and the restricted paper sizes that it allows.
Install a dummy printer that accepts larger paper sizes and either set it to default, or click on File > Page Setup and under printer options, select the dummy printer.
The ruler should now extend across the full length of the report page and you can extend your line to match it.
NB: This was in Crystal Reports 2013 R2 - The settings may differ slightly in older/newer versions.
i had same issue. could not scratch lines.
i tried to change page setup from landscape to portrait and then did required changes.
again changed page setup to landscape and it was working fine .
Is it really true that Crystal Reports does not support images that have transparency?
We are using it at work and the guy that does Crystal Reports told me it doesn't support transparency. I couldn't believe it so I've spent the last 20 minutes googling and think he might be right. This seems absolutely incredible in this day and age.
Can anyone please confirm whether or not CR supports transparency, and if so how you do it (we are not limited by the type of image to insert - png, gif etc).
For the record we are using CR version that comes with VS 2008 (version 10.5).
CR doesn't support transparency but you can use a wmf image to solve your problem.
I'm using CR 12 (2008), i need to put an image as signature (as a watermark) on another image.
Example:
Background_image.jpg
Signature_image.jpg
Convert Signature_image.jpg into a wmf file using "Inkscape" (freeware).
In the report, we have "Background_image.jpg" and over it the "Signature_image.wmf" image,
it works great!
Just reached over here while searching for same problem. Unfortunately this is true till this date :(
Answering this question for users who may visit again here.
Transparent background of image is not retained when adding it to Crystal Reports
I achived solution following way.
Painted transperent area with printing page color i.e. white in my case.
I would like to put image in page header and some text over it.
In CR design mode.
right click in page header section -> select section expert
select page header -> click insert
In page header a check "Underlay following sections" -> click ok.
back in design, in section "page header a" include image.
In section "page header b" include text which I would like to show over image (i.e. I am expecting to be transparent).
Hope this helps for future visitors.
There is another work around I tried and was successful. If you want the image as a watermark in your report, use your report as a sub report in the detail section of the main report and keep the image in a main report page header and use the option 'Underlay Following Sections' in the Section Expert. All the lines and texts will appear properly on top of the image.
As AR_Italy said, confirmed that wmf files are the way to go, even though SAP site says transparent images are not supported, so thank you to AR_Italy.
The only thing I would add is that these can be Exported from Adobe Illustrator as well (make sure your image has a transparent background first).
If your Image has a white background AND your lazy just check this out:
Rightclick on your report, select Report and Report options and Check "Retain Original Image Color Depth