471,330 Members | 1,518 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Printing Crystal Report to Postscript

Hello,

I'm using Crystal Reports for Visual Studio 2005.

I'm trying to print my reports to the postscript file:

PrinterSettings ps = new PrinterSettings();
ps.PrinterName = "HP Deskjet 3840 Series";
ps.PrintFileName = txtPath.Text.Trim() + "\\" + txtFormNo.Text.Trim() +
".ps";
ps.PrintToFile = true;
rpt.PrintOptions.CopyFrom(ps, ps.DefaultPageSettings);
rpt.PrintToPrinter(1, true, 0, 0);

Although I specified PrintToFile, this procedure still prints a hard copy,
and not a postscript file.

I've also tried to install Adobe Postscript driver and print directly to PS
printer - but getting errors that some method is not supported, I don't
know which one yet.

I'd found some posts in the forums
(http://www.crystalreportsbook.com/fo...ts.asp?TID=844) saying
that there was a bug with PS printing in Crystal reports that had been fixed
in version Crystal XI Release 2 Service Pack 3. But, first, I even don't
know what version I have, I couldn't find a way to look it up in the Visual
Studio - there is no CR version under Help. Second, I cannot update directly
from my Visual Studio (probably due to my company's proxy settings), and I
couldn't download an update from the Business Objects web site either, it
seems that only registered users of the full version can do this.

I would appreciate very much any help with this issue. Either I'm missing
something in my code, or I really need an update? If so - is there a way to
get it somehow?

Thank you,

Peter
Jul 15 '08 #1
1 5539
I managed to print to postscript printer, but I always get a prompt for file
name - exactly the same problem as described here:

http://www.crystalreportsbook.com/fo...ts.asp?TID=844

So I believe I need an update - Crystal XI Release 2 Service Pack 3. How can
I get it?

Thank you,

Peter
"Peter Afonin" <pa*****@hotmail.comwrote in message
news:u3**************@TK2MSFTNGP05.phx.gbl...
Hello,

I'm using Crystal Reports for Visual Studio 2005.

I'm trying to print my reports to the postscript file:

PrinterSettings ps = new PrinterSettings();
ps.PrinterName = "HP Deskjet 3840 Series";
ps.PrintFileName = txtPath.Text.Trim() + "\\" + txtFormNo.Text.Trim() +
".ps";
ps.PrintToFile = true;
rpt.PrintOptions.CopyFrom(ps, ps.DefaultPageSettings);
rpt.PrintToPrinter(1, true, 0, 0);

Although I specified PrintToFile, this procedure still prints a hard copy,
and not a postscript file.

I've also tried to install Adobe Postscript driver and print directly to
PS printer - but getting errors that some method is not supported, I
don't know which one yet.

I'd found some posts in the forums
(http://www.crystalreportsbook.com/fo...ts.asp?TID=844) saying
that there was a bug with PS printing in Crystal reports that had been
fixed in version Crystal XI Release 2 Service Pack 3. But, first, I even
don't know what version I have, I couldn't find a way to look it up in the
Visual Studio - there is no CR version under Help. Second, I cannot update
directly from my Visual Studio (probably due to my company's proxy
settings), and I couldn't download an update from the Business Objects web
site either, it seems that only registered users of the full version can
do this.

I would appreciate very much any help with this issue. Either I'm missing
something in my code, or I really need an update? If so - is there a way
to get it somehow?

Thank you,

Peter

Jul 15 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Arthur | last post: by
1 post views Thread by Maurice Mertens | last post: by
1 post views Thread by Dreamtime | last post: by
reply views Thread by skrishnan68 | 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.