Solved

Printing a report in VB.net

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 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

13 Experts available now in Live!

Get 1:1 Help Now