Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Linear barcode in Crystal Report Post Reply Post New Topic
Author Message
goushi
Newbie
Newbie


Joined: 28 Mar 2012
Online Status: Offline
Posts: 1
Quote goushi Replybullet Topic: Linear barcode in Crystal Report
    Posted: 15 Apr 2012 at 5:21pm
hi,

I need to print linear barcodes on Crystal Report,

The encoded data are stored in database

i want  make 1D barcodes using the data in data base, and display the barcode on crystal report

how can i do this ?


thank you
IP IP Logged
gdfhdh
Newbie
Newbie


Joined: 04 Apr 2012
Online Status: Offline
Posts: 1
Quote gdfhdh Replybullet Posted: 15 Apr 2012 at 6:18pm
do you store these barcodes in image format or unicode, as I know, they are normally stored as unicode. You might need install some sort of barcode fonts in your system.
IP IP Logged
gfhdff
Newbie
Newbie


Joined: 05 Apr 2012
Online Status: Offline
Posts: 1
Quote gfhdff Replybullet Posted: 15 Apr 2012 at 9:18pm
It is much easier if you stored the data in form of unicode, because the unicode itself is kind of barcode font. You should drop that into crystal Report.
IP IP Logged
ffppl
Newbie
Newbie


Joined: 29 Mar 2012
Online Status: Offline
Posts: 1
Quote ffppl Replybullet Posted: 16 Apr 2012 at 5:45pm
 That's easy. What kinda linear barcode do you want? Code 39? ISSN? Code 128?... You may find 20+ common linear barcodes in Crystal Report barcode generator.

Edited by ffppl - 19 Apr 2012 at 4:42pm
IP IP Logged
dgsdf
Newbie
Newbie


Joined: 10 Apr 2012
Online Status: Offline
Posts: 1
Quote dgsdf Replybullet Posted: 16 Apr 2012 at 9:55pm
Hi, could you confirm if the generator you recommend supports ISBN?
IP IP Logged
jamesjim882
Newbie
Newbie


Joined: 03 Jan 2013
Online Status: Offline
Posts: 4
Quote jamesjim882 Replybullet Posted: 03 Jan 2013 at 11:07pm
It's easy and efficient to generate linear barcodes in Crystal Report.
For example, the Code39 in crystal report.
  1. Download Barcode Generator for Crystal Report and unzip. In the demo file, there are a "BarcodeDemoData.mdb" that including "ID", "CustomerId", and "CustomerName", and a "CustomerDataSet.xsd".
  2. Open your Visual Studio, create a new web project with "ASP.NET Crystal Reports Web Site" as template;
  3. Create a new report "Using the Report Wizard", and choose "Standard", and click "OK";
  4. In "Data" form, double click "Create New Connection", and expand "ADO.NET".
  5. In "ADO.NET" form, select "CustomerDataSet.xsd" file in your downloaded package, and click "Finish" button.
  6. Back at the "Data" form. Double click "table", then click "Next". In the "Fields" form, double click or drag and drop "ID", "CustomerID", "CustomerName" to "Fields to Display" and click "Finish";
  7. In CrystalReport1.rpt, add field "Barcode" to the report Section 3;
  8. Add "BusinessRefinery.Barcode.web.dll" to your project reference in "Solution Explorer";
  9. Right click "Default.aspx" in "Solution Explorer" and choose "View Code";
  10. Copy the following code accordingly and run the project.
IP IP Logged
garychen
Newbie
Newbie


Joined: 14 Jan 2013
Online Status: Offline
Posts: 6
Quote garychen Replybullet Posted: 14 Jan 2013 at 5:25pm
the problem you just mentioned is what Crystal reports barcode generator is designed to solve. By the way, this kind of barcode generators on market can almost support both 1d and 2d barcodes. And recently, the 2D barcode types are really popular. Think about it when you are choosing the barcode font.
IP IP Logged
recthor
Newbie
Newbie


Joined: 06 Jun 2013
Location: United States
Online Status: Offline
Posts: 9
Quote recthor Replybullet Posted: 25 Jun 2013 at 10:42pm
Originally posted by garychen

the problem you just mentioned is what Crystal reports barcode generator is designed to solve. By the way, this kind of barcode generators on market can almost support both 1d and 2d barcodes. And recently, the 2D barcode types are really popular. Think about it when you are choosing the barcode font.

 
thanks for sharing , the generator you recommended is quite helpful. iam using another tool to generator barcode in c# and other formats , if you need create some other kinds of barcode ,you can try it.
IP IP Logged
garychen
Newbie
Newbie


Joined: 14 Jan 2013
Online Status: Offline
Posts: 6
Quote garychen Replybullet Posted: 29 Jul 2014 at 4:23pm


Sorry, I think you misunderstand my reply. I am not recommending any tools. I just think the question raiser should first know his goal.Smile




Originally posted by recthor


 thanks for sharing , the generator you recommended is quite helpful. iam using another tool to generator barcode in c# and other formats , if you need create some other kinds of barcode ,you can try it.



Edited by garychen - 29 Jul 2014 at 4:24pm
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.