Embedding QR Code in a stand alone Crystal Report - crystal-reports

I would like to embed a QR Code on a stand-alone Crystal Report.
I'm planning to embed information from the report (like Name or Address) that will be stored in the QR that will be generated in the Crystal report.
Can anyone point me in the right direction or link to any resources explaining how to do this?

It's easiest to use an on-line service.
Insert a picture
Edit the conditional formula associated with the picture's Graphic Location property
Provide a link that will generate the QR code. For example: "http://www.esponce.com/api/v3/generate?content=" + {table.field} + "&format=png"

Related

How to show QR code using Google Charts in Crystal reports?

Currently I managed to show inside Crystal report QR code using Google Charts and dynamically change path of picture but the generated QR code is wrong. I need to show URL with GET methode (3 params) and link is showing only 1st param.
test URL which needs to be opened via QR code (formula "link")
"http://test.com/getData?param1=aaa&param2=bbb"
formula for QR code and dynamically changing picture (it's http because Crystal Reports doesn't support https)
"http://chart.googleapis.com/chart?cht=qr&chs=200x200&chl=" + {#link}
Those two combined form a string
http://chart.googleapis.com/chart?cht=qr&chs=200x200&chl=http://test.com/getData?param1=aaa&param2=bbb
QR code - wrong one (missing param 2)
If I change my link to (url encoding & into %26)
http://chart.googleapis.com/chart?cht=qr&chs=200x200&chl=http://test.com/getData?param1=aaa%26param2=bbb
then I get with browser good QR code but in Crystal reports still wrong one (missing param 2)
QR code - good in browser but not showing the same in Crystal
I suspect that something is wrong with URL encoding in Crystal or different than browser encoding. Any suggestions how to solve this?
If this is due to http limitation, you can generate the QR barcode image locally using a Crystal Reports UFL. You can create your own or at least one of the 3rd-party UFLs listed here provides such a function.
After lots of hours trying encoding/decoding data I accidently figure out that it wasn't problem in data or URL. Only thing I had to do is check "use original URL" in picture properties. After that generated QR code was good and problem solved. Hope it helps someone and saves lots of hours.

On demand sub reports in crystal reports

I have a report where I am using an on-demand sub-report. But my user is viewing this report from a java application. So whenever he run the report he will view this report in PDF.
Report format:
country name location sales
<on-demand subreport>
Now once he run the report he will get all the above fields data in PDF format.
So now if clicked on location field data in PDF will he get the sub-report's data.
PDF isn't intended to generate dynamic content. As such, you'll need to find an approach that will render the desire content in a static manner.
I would suggest that you parameterize your report to display one of these options:
main only
main + subreport
The PDF will either contain the main report's content or the main and subreport's content.
** edit **
If you are using BusinessObjects Enterprise (BOE), you could use the openDocument API to generate a new report instance or the most-recently-generated instance. I don't know if Crystal Reports Server supports this feature for certain.
If you are rendering reports in a Java application, then you will need to a way to intercept the hyperlinks--a server, most likely. By in large, you'd be reinventing Crystal Reports Server/BOE.
Basically I understand as you need two thing.
you need to generate a report and export/generate in pdf.
in you need to attach link or something like editable field pdf.
For First answer, you can easily hide/show of sub-report in crystal report side. but not after report generate in pdf.
So for second answer, you need to pdf professional or editable allow version. after you get that you simply use itextsharp.dll (to generate pdf from asp.net-see below link).
So finally I think, does not needed crystal report.
please check this link.
How to create an editable pdf in asp.net?
Pdf's fields should remain editable using itextsharp in asp.net
Creating a fillable PDF form with ITextSharp

Barcode integration for crystal report CRforVS_13_0_8 code39 or code128

I am trying to add Barcode in my crystal report.I need free service not paid.I have tried azalea bar code implementation.
I have added azalea code 129 function in formula field and create a new formula field with name code128 and i placed in my crystal report.i have also downloaded code128 Font from 3rd party site i set the font also, when i generate the report the barcode was not readable.
I am looking for a complete kit of barcode integration for crystal report for free or any other solution.
Requirement :
Need to generate Alphanumeric barcode in crystal report.
Thanks in advance. Need help........
Finally, i got barcode implementation # crystal report. http://www.idautomation.com/free-barcode-products/code39-font/#Bar_Code_Font
You can also use online barcode generator services. Create a hyperlink where the barcode alphanumeric is part of the URL to generate your barcode dynamically per barcode. This requires internet access. Code 3 of 9 is inefficient and takes a lot of space to generate a barcode. Code 128 is more compact and can generate alphanumeric easily.

jasper ireport basic functionality

I am new to JasperReports and iReport and I am sturggling to get the most basic example up and running. I'm trying to read input from a .xls file and put it into a table using iReport. Eventually, I want to read from a database, and transform the data in a meaningful way but for now I just want to view what I am reading and I can't get that going. First, if I just drag and drop my Field into the template, $F{Account}, I would expect to see the list of values for that field name (as I do when I preview my "query"). However, if that is all I do and then preview, I see the first account number in my input xls, and then 50 pages of empty white space. Why would this be?
Next, if I create a basic table, I am getting an error
Error filling print... null
java.lang.NullPointerException      at net.sf.jasperreports.components.table.util.TableUtil.isSortableAndFilterable(TableUtil.java:344)   ...
Print not filled. Try to use an EmptyDataSource...
Any help is greatly appreciated! Also, I should note, I did download JasperReports but I'm wondering if I need to somehow connect iReport to those classes. I saw a way to do it in the Netbeans plugin but I'm just trying to use the iReport GUI
The table component is great. But it's harder to use than it should be. Take a look at this Table Component tutorial to learn how to use it.
For the first part of your question you don't give enough information for anyone to know. My guess is that you put the field into the Title band rather than the Detail band.

How can I print UPC-A objects for labels?

I have a Crystal Reports project that I am working on where I need to generate a label with UPC-A's. After doing a bit of research, I've found that Azalea Software offers a tool that is suppose to integrate barcode objects into your application.
I purchased the software from Azalea, followed all of their instructions and I can not get their software to work with my report. I don't want to speak ill of Azalea, because their support has been great, but is anyone aware of a legitimate alternative for UPC-A barcode creatioon from within Crystal Reports 2008?
I don't mind purchasing another 3rd party API, I just need to be able to generate dynamic UPC-A images from the UPC-A numbers that I need to encode stored within my database.
Further information-- this is a label document that is printed from a ClickOnce published application that uses the Crystal Reports for Visual Studio 2010 runtime, and the Crystal Reports Document Viewer control to view and print these labels.
We use IDAutomation for our barcoding. Very easy to use when installed, you use it like a font on calculated barcode fields. We use it mainly for Code-39 and Code-128 barcodes; though looking at the site it can make UPC/EAN codes too. It also has a selection of sizes for each barcode, alongside the normal font resizing.
On our version you have to install the fonts on every client computer running the report locally; but only once on telnet servers etc.