Solved

Printing a report in VB.net

Posted on 2006-06-20
2
281 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 Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

766 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