Solved

Microsoft Reporting Services -- barcode "print preview" fails

Posted on 2013-06-03
5
856 Views
Last Modified: 2013-06-04
Steps
1.      RDP into report server
2.      Run report
3.      Barcode displays
4.      Click Print Preview or Print
5.      Numbers display instead of barcode

My Microsoft Reporting Services barcode displays on screen, but fails via "print preview"

The barcode fonts are installed on server and client, both machines have been rebooted.

How can I fix without spending over $100 for a 3rd party tool like the below ?
------------------------------------------------------------------------------------------------------------------------
http://www.idautomation.com/barcode-components/reporting-services-cri/
http://social.msdn.microsoft.com/Forums/en-US/vsreportcontrols/thread/e9191874-4d3a-41e6-82b3-31edf3218701
http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/74c9a963-2ad2-4e38-b1f0-e5b8035e5ae2/
http://www.barcoderesource.com/reportingServicesBarcode.shtml
0
Comment
Question by:finance_teacher
  • 3
  • 2
5 Comments
 
LVL 22

Expert Comment

by:Nico Bontenbal
ID: 39216930
When I add an image to my report and use this expression for the image (set source to External):
="http://www.barcodesinc.com/generator/image.php?code=abc&style=197&type=C128B&width=200&height=50&xres=1&font=3"

Open in new window

I get an image of a barcode on my report.
Use this page to configure the barcode:
http://www.barcodesinc.com/generator/index.php (click advanced options).
0
 

Author Comment

by:finance_teacher
ID: 39217170
I get a RED "X" after running the report using your code, I then retested with the attached and it also fails.

How can I fix ?
s010.jpg
0
 

Author Comment

by:finance_teacher
ID: 39217173
Works now, forgot to do your "External"
0
 

Author Comment

by:finance_teacher
ID: 39217196
How can I replace below 2222 with my database value ?

="http://www.barcodesinc.com/generator/image.php?code=2222&style=68&type=I25&width=200&height=50&xres=1&font=3"

="http://www.barcodesinc.com/generator/image.php?code=First(Fields!ORDER_NO.Value, "DataSet1")&style=68&type=I25&width=200&height=50&xres=1&font=3"
0
 
LVL 22

Accepted Solution

by:
Nico Bontenbal earned 500 total points
ID: 39218120
="http://www.barcodesinc.com/generator/image.php?code=" & First(Fields!ORDER_NO.Value, "DataSet1") & "&style=68&type=I25&width=200&height=50&xres=1&font=3"

Open in new window


See also http://www.katieandemil.com/ssrs-concatenate-two-string-fields-using-expression.
I haven't tested it so my expression might be wrong. If it is put the expression in a text box so you can see what the result is (and what's wrong with it).
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SSL https .net web site force redirect 3 69
SSRS 2016 KPI 2 37
How to install a font on WIN2003SBS/IIS 6 & test 17 48
page view and f5 big ip 4 34
I recently went through setting up a JasperReports Server using the AWS EC2 instance, and this article will cover some basic administration tasks I had to perform.
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question