Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #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

  #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
  #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
  #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

  #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


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





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