Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 2005 > BOOK: Professional C# 2005
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional C# 2005
This is the forum to discuss the Wrox book Professional C# 2005 by Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner, Allen Jones; ISBN: 9780764575341
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C# 2005 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
Thread Tools Display Modes
  #1 (permalink)  
Old March 10th, 2006, 10:12 AM
Registered User
Join Date: Mar 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 25 Printing - PrintPreviewDialog

I have some programs that I orginially developed under VS 2005 Beta 2 that print reports using PrintDocument & PrintPreviewDialog. After C# 2005 Express was released I loaded it up and now PrintPreviewDialog displays the print content correctly but when I press the Print Button in the upper left it prints blank pages.

So I loaded down the Wrox code from Chapter 25 / Printing and I am getting the same results with the code from that chapter. PrintPreviewDialog prints blank pages.

I am running Windows XP. I've tried this on two separate machines with the same results.

I'll be upgrading to the full Professional Version of Visual Studio 2005 shortly and I'm hoping that the problem is not present there.

It would be great if someone with a full version of VS 2005 could load the code down from Chapter 25 / Printing and verify that it does work correctly.

Thanks, Jim
Reply With Quote
  #2 (permalink)  
Old April 25th, 2006, 12:17 PM
Registered User
Join Date: Apr 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

The chapter 25 code I downloaded just prints 1 blank page, regardless of the document I've opened. Print preview looks OK if you don't try to print first, otherwise it seems to get thrown off.

Reply With Quote

Thread Tools
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
PrintPreviewDialog problem bobiav C# 0 July 22nd, 2005 07:12 AM
chapter 25 -sample code LouMattera BOOK: Professional C#, 2nd and 3rd Editions 3 February 13th, 2005 05:39 AM
C# 3rd edition -chapter 25 fjgnena BOOK: Professional C#, 2nd and 3rd Editions 0 September 9th, 2004 03:47 PM

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

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