Printing from VB.Net
-
Hi all, I have a data byte array which further I will convert it as PDF and print it. Can anyone help me in this regards. Is there any chance to print directly from byte array without converting into PDF. Thanks in advance Senthil
Senthil_GeoEdge wrote:
I have a data byte array which further I will convert it as PDF and print it. Can anyone help me in this regards.
Help with what?? What is this data??
Senthil_GeoEdge wrote:
Is there any chance to print directly from byte array without converting into PDF.
Are you asking how to print a bunch of numbers on a page??
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
Senthil_GeoEdge wrote:
I have a data byte array which further I will convert it as PDF and print it. Can anyone help me in this regards.
Help with what?? What is this data??
Senthil_GeoEdge wrote:
Is there any chance to print directly from byte array without converting into PDF.
Are you asking how to print a bunch of numbers on a page??
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007Hi, Thanks for reply. In detail, I have designed a .rdl report using SQL Report Services 2005 in a server. I have vb.net program in my client machine to access that report. After rendering that report in client, I recieve data in byte() format. I further use file stream to write that as a PDF. Now, I want to print that to a particular printer. Here is the code. =========Code Starts Dim results As Byte() results = objReportingService.Render(m_sReportPath, sOutputFormat, HistoryId, DeviceInfo, LoadParams(), RSCredentials, ShowHideToggle, Encoding, MimeType, RSParamsUsed, RSWarnings, StreamIds) Dim fs As System.IO.FileStream fs = System.IO.File.OpenWrite(m_sFilePath) fs.Write(results, 0, results.Length) fs.Close() =========Code Ends Now the question again. I want to print that PDF file OR Is there any chance to print directly from byte array without converting into PDF? I hope its clear. Thanks Senthil