Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 15th, 2004, 12:48 PM
Friend of Wrox
 
Join Date: Sep 2003
Location: , Kent, United Kingdom.
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Default Printing directly to a printer

Hi

How do you print directly to the default printer? All the examples I have seen involve printing to a file and then printing the file, is there not a more simple way of doing it, such as the VB6 method of printer.print?

Thanks in advance

Louisa

Reply With Quote
  #2 (permalink)  
Old January 15th, 2004, 06:02 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

What are you wanting to print (the text in a text box, graphics, etc.)?

J
Reply With Quote
  #3 (permalink)  
Old January 15th, 2004, 06:07 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Also, do you not want to show a printer dialog box?

J
Reply With Quote
  #4 (permalink)  
Old January 16th, 2004, 06:11 AM
Friend of Wrox
 
Join Date: Sep 2003
Location: , Kent, United Kingdom.
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I would like to print some data from a dataset and yes I would like to a print dialog box.

Thanks for you help

Louisa

Reply With Quote
  #5 (permalink)  
Old January 16th, 2004, 09:26 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Here is a pretty detailed article on the subject:

http://www.thescarms.com/dotNet/PrintDataSet.asp

J
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing directly leo_vinay ASP.NET 1.0 and 1.1 Basics 0 October 26th, 2005 11:17 PM
Printing worksheet with printer tray # 3 shamigc Excel VBA 2 July 23rd, 2004 02:17 PM
Printing with default printer lletnek Beginning VB 6 1 March 4th, 2004 06:26 PM
Printing a VB Text Box Directly To a Printer CB78 Beginning VB 6 6 February 16th, 2004 01:54 PM



All times are GMT -4. The time now is 12:11 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.