471,123 Members | 914 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,123 software developers and data experts.

PDF export buggy?

Please excuse my post if its somewhat off-topic, but I'm hoping to
reach a wider audience that may have a solution but doesn't frequent
the SSRS group.. thanks.

I have a LocalReport, when I'm exporting to a PDF using the following
Warning[] warnings;
string mimeType;
string encoding;
string fileNameExtension;
string[] streams;
byte[] pdfContent;
string fileName;
FileStream pdfFile;
fileName = Path.GetTempPath();
fileName = Path.Combine( fileName, Report.DisplayName +
".pdf" );
pdfContent = report.Render( "PDF", null, out mimeType,
out fileNameExtension, out streams, out warnings );
using ( pdfFile = new FileStream( fileName,
FileMode.Create ) ) {
pdfFile.Write( pdfContent, 0, pdfContent.Length );
Using the PCL drivers for a laser printer we have here, the PDF
fine. Uninstalling the print drivers and installing the PS printer
drivers, and we get one page with a few portions of text, followed by
a second page with this text:

ERROR: unmatchedmark
Any idea what I can do to correct this? Is this a known issue?


Aug 30 '07 #1
0 1015

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by DarkSpy | last post: by
205 posts views Thread by Jeremy Siek | last post: by
1 post views Thread by Do Park via SQLMonster.com | last post: by
6 posts views Thread by maricel | last post: by
5 posts views Thread by David | last post: by
1 post views Thread by HandersonVA | last post: by
1 post views Thread by chaitu | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.