Solved

Printing a report in VB.net

Posted on 2006-06-20
2
275 Views
Last Modified: 2010-04-23
Could someone help me with writing the code for a simple program to print a report.  Setting font, drawing boxes/lines , margins and printing data without creating a document first.  
Thanks.

0
Comment
Question by:bsturge
2 Comments
 
LVL 11

Accepted Solution

by:
MacNuttin earned 500 total points
ID: 16941973
I used to do this visual basic:
Just generate the string to print and then
Printer.Print The String
and so on printing string by string


Here's a VB.Net way  check this answer out:
http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/VB_DOT_NET/Q_21071583.html
0
 

Author Comment

by:bsturge
ID: 16958658
Could you help me with setting the font, margins, draw lines, & new page?
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Help with LINQ and XML 10 36
Import a txt file into a DataGridView and TextBox 20 39
Database Connections Not being returned to Connection Pool 7 27
vb.net 1 month apart 11 31
This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question