Reputation: 277
I have following data in variables 1) Patient Name,Age,Sex,Referred by Doctor. 2) TestName,Parameters(As an array) and its results There are some variables which will be computed using formulas.
I need to send data to printer in the following format http://www.orthoclinical.com/en-us/Documents/Sample%20lab%20report.pdf
Please point me how to implement the same.
PS: 1) I cant display data directly from Database. There are many derived parameters which will be calculated using formulas. 2)I'm newbie to C# and printing application. Please help me with pseudocode/code
Upvotes: 0
Views: 330
Reputation: 22483
have a look at itextsharp. This is a server side pdf library that uses a document object model to allow you to add your text and styling in a pretty easy manner.
main features:
iText is available in Java as well as in .Net and Android.
usages:
available via nuget: Install-Package iTextSharp
Upvotes: 1