Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSRS 2008 Exporting to PDF with Barcodes


SSRS 2008 Exporting to PDF with Barcodes

Author
Message
maleitzel
maleitzel
Grasshopper
Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)

Group: General Forum Members
Points: 24 Visits: 261
Good morning!

I'm working with our application developers to convert a report from SSRS 2005 to SSRS 2008. The report uses barcode images on each page of the report. The barcodes are incremented based on the page number.

When this report is run either through Report Manager or using the report preview in Visual Studio 2008, the barcodes display correctly. The report also works fine on SSRS 2005.

When we attempt to export to PDF (or HTML) the barcode from page two repeats on all the following pages. This error only happens on the export.

Does anyone have a similar problem or any insight on what needs to be changed to get the export to work?

Thanks!



Brian K. McDonald
Brian K. McDonald
SSC Rookie
SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)

Group: General Forum Members
Points: 33 Visits: 23410
What barcode control are you using to produce the barcode? Is it "freeware" or "shareware" or do you have a license for it? The problem may be there, but I would need more information before I can feel comfortable saying it is an issue with the pdf renderer not knowing how to handle the dynamic image.

Brian K. McDonald, MCDBA, MCSD
Business Intelligence Consultant
Jacksonville, Florida
maleitzel
maleitzel
Grasshopper
Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)

Group: General Forum Members
Points: 24 Visits: 261
Thanks for the quick reply.

The barcodes are bmp images that are stored in a table in an Oracle database. I believe a range of barcodes have bee populated in the table and then report parameters are used to retrieve the correct barcode image. I'll need to confirm this process, but from reviewing the report functions and from talking to the Oracle DBA, this appears to be the case.

No matter, the barcodes are images on the report.

The process works fine until the report is exported and the entire render/export process is successful using SSRS 2005.



Brian K. McDonald
Brian K. McDonald
SSC Rookie
SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)

Group: General Forum Members
Points: 33 Visits: 23410
Great! So you are getting the results from a table in the database. Are you exporting the results from within Visual Studio or have you deployed the report to your report server? Based on the information that I have so far, it appears to me that you are trying to export from within your local development environment, but I could be off base on this one. I would try to export it from report manager or even by using URL Access.

I personally would try to refresh the dataset (if running locally), test the "query" results and then preview the report in Visual Studio. Be sure that the report actually refreshes by pushing the "refresh" button.

Hopefully this will help you.

Brian K. McDonald, MCDBA, MCSD
Business Intelligence Consultant
Jacksonville, Florida
becklery
becklery
SSC-Enthusiastic
SSC-Enthusiastic (143 reputation)SSC-Enthusiastic (143 reputation)SSC-Enthusiastic (143 reputation)SSC-Enthusiastic (143 reputation)SSC-Enthusiastic (143 reputation)SSC-Enthusiastic (143 reputation)SSC-Enthusiastic (143 reputation)SSC-Enthusiastic (143 reputation)

Group: General Forum Members
Points: 143 Visits: 187
Hi, you can have a try of RAQ Report.
With it, you can export report to Excel easily. The only thing you need to do is selecting desired function in the menu in the report IDE.
An example is shown below:

Regards,
becklery.

RAQ Report: Web-based Excel-like Java reporting tool
Koen Verbeeck
Koen Verbeeck
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16447 Visits: 13202
Last 2 replies are marked as spam.



How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at SQLKover.

MCSA SQL Server 2012 - MCSE Business Intelligence
Northern Monkey
Northern Monkey
SSC Rookie
SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)SSC Rookie (38 reputation)

Group: General Forum Members
Points: 38 Visits: 315
Hi Have you tried to install a barcode font we use that to format the field varchar data into a barcode so we don't need to have images it works quire well there are free ones to download Code 39 or 128
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search