By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,249 Members | 1,853 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,249 IT Pros & Developers. It's quick & easy.

PDF printing

P: n/a
hello,

i have an application that builds up a large "incident report" for a
law enforcement agency. In the end this is represented in a large
object containing many properties and collections related to the
incident.

we now need a way to produce a PDF for printing. what are common ways
to do this?

ive seen some organizations use DataDynamic's ActiveReports for this,
whereby they create an XSL report-pdf template and an XML doc for the
content, and mash the two.

....does anybody have any good recommendations for things that easy to
work with?
thanks!
sm
Oct 28 '08 #1
Share this Question
Share on Google+
7 Replies


P: n/a
There is pretty good free library iTextSharp with a lot of examples.
George.

"SpaceMarine" <sp*********@mailinator.comwrote in message
news:8b**********************************@c36g2000 prc.googlegroups.com...
hello,

i have an application that builds up a large "incident report" for a
law enforcement agency. In the end this is represented in a large
object containing many properties and collections related to the
incident.

we now need a way to produce a PDF for printing. what are common ways
to do this?

ive seen some organizations use DataDynamic's ActiveReports for this,
whereby they create an XSL report-pdf template and an XML doc for the
content, and mash the two.

...does anybody have any good recommendations for things that easy to
work with?
thanks!
sm
Oct 29 '08 #2

P: n/a
"George" <no*****@comcast.netwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>...does anybody have any good recommendations for things that easy to
work with?

There is pretty good free library iTextSharp with a lot of examples.
Which, unless it has been updated since I last looked at it, doesn't
actually support printing.

And they don't even have a v2.0 version yet...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Oct 29 '08 #3

P: n/a
Which, unless it has been updated since I last looked at it, doesn't
actually support printing.
????
it generate PDF.... what do you mean does not support printing? Printig is
Adobe's jobe once PDF is created...

George.


"Mark Rae [MVP]" <ma**@markNOSPAMrae.netwrote in message
news:%2*****************@TK2MSFTNGP06.phx.gbl...
"George" <no*****@comcast.netwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>>...does anybody have any good recommendations for things that easy to
work with?

There is pretty good free library iTextSharp with a lot of examples.
>
And they don't even have a v2.0 version yet...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
Oct 29 '08 #4

P: n/a
"George" <no*****@comcast.netwrote in message
news:uP**************@TK2MSFTNGP02.phx.gbl...
>Which, unless it has been updated since I last looked at it, doesn't
actually support printing.
????
It generates PDF....
Yes it does, but that's not what the OP asked...
What do you mean does not support printing?
By "support printing" I mean "contain the functionality to send a PDF to a
printer's print queue and kick off that print job automatically" - what on
earth did you think I meant...?
Printing is Adobe's jobe once PDF is created...
LOL! So someone has to constantly monitor a folder for new PDF documents and
then print them manually? That's not going to help the OP much...

There are plenty of 3rd-party PDF generation utilities which support
printing - iTextSharp doesn't...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Oct 29 '08 #5

P: n/a
"Mark Rae [MVP]" <ma**@markNOSPAMrae.netwrote in message
news:OP**************@TK2MSFTNGP06.phx.gbl...
"George" <no*****@comcast.netwrote in message
news:uP**************@TK2MSFTNGP02.phx.gbl...
>>Which, unless it has been updated since I last looked at it, doesn't
actually support printing.
>????
It generates PDF....

Yes it does, but that's not what the OP asked...
>What do you mean does not support printing?

By "support printing" I mean "contain the functionality to send a PDF to a
printer's print queue and kick off that print job automatically" - what on
earth did you think I meant...?
>Printing is Adobe's jobe once PDF is created...

LOL! So someone has to constantly monitor a folder for new PDF documents
and then print them manually? That's not going to help the OP much...

There are plenty of 3rd-party PDF generation utilities which support
printing - iTextSharp doesn't...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
Have no idea what are you talking about... What printer's queue. What folder
to monitor.
The way i am using it: 1. generate PDF (stream) and 2. output it to
browser....
Then user looks at pretty report in PDF format, then prints it if he likes
it or saves it to his harddrive. And as i understood this is what guy
asked... how to generate PDF report and (may be i implied since it's ASP.NET
group) to show it on client side.

No folders to monitor. Since PDF never actually made into real file. It's
written into Response stream as it generates.
Also printing becomes customer's headache. May be he does not even have
printer and he wants to email it.

PS: printing PDF is easy use this command AcroRd32.exe /p /h "filename"
But it needs to be run on client and i do not see how to do it from ASP.NET

George


Oct 29 '08 #6

P: n/a
Printing is Adobe's jobe once PDF is created...
>
LOL! So someone has to constantly monitor a folder for new PDF documents and
then print them manually? That's not going to help the OP much...

There are plenty of 3rd-party PDF generation utilities which support
printing - iTextSharp doesn't...
Create the PDF, output to the browser. Adobe Reader comes up, opens
the PDF. User clicks PRINT.
Oct 29 '08 #7

P: n/a
On Oct 28, 12:54*pm, SpaceMarine <spacemar...@mailinator.comwrote:
hello,

i have an application that builds up a large "incident report" for a
law enforcement agency. In the end this is represented in a large
object containing many properties and collections related to the
incident.

we now need a way to produce a PDF for printing. what are common ways
to do this?

ive seen some organizations use DataDynamic's ActiveReports for this,
whereby they create an XSL report-pdf template and an XML doc for the
content, and mash the two.

...does anybody have any good recommendations for things that easy to
work with?
Have you tried the Microsoft ReportViewer control?

While I've only used it for repeating data, no reason that it can't be
a full form that fields are pulled from a db.

Oct 29 '08 #8

This discussion thread is closed

Replies have been disabled for this discussion.