Solved

Printing a report in VB.net

Posted on 2006-06-20
2
265 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

867 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now