aknet
aknet

Reputation: 63

Crystal Reports shows barcode ONLY locally

I use Crystal Reports to show an .rpt file in an asp.net page.

When I run both at server, the CR's preview on design software and the WebPage(IE) where the CR viewer is embedded, the reports shows the barcode and can be printed.

(the barcode is a function Bar128AB( *BarTextIn*, *Subset* ) )

BUT when I run it from another computer or from another browser(Firefox, Chrome) on the same server, the barcode shows the input string(BarTextIn) from Bar128AB function and not the result(final barcode) of the function.

The font which is used to represent the barcode is Code 128AB HR, which has restricted embeddability, but I don't mind for exporting it in PDF, just view and print it.

Upvotes: 4

Views: 2485

Answers (2)

mr antoni
mr antoni

Reputation: 645

You need to install a couple of packages in order to show the barcode properly.

  • Install the latest package of crystal reports
  • Install this patch for the font with fsType value 0 to achieve installation

Also according to this thread you can try to print the page and see if barcode its works

Upvotes: 1

Emanuele Greco
Emanuele Greco

Reputation: 12721

Try to install Code 128AB HR font on another computer and then to run the report there.
Is it working now? If it is, it means that your solutions need the font to be installed on any client (and I think it is).

If you think this is not the right solution for you, you could turn into javascript barcode tools (this is one).

Upvotes: 0

Related Questions