Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > BOOK: Professional C# 2005
|
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 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
 
Old March 10th, 2006, 11:12 AM
Registered User
 
Join Date: Mar 2006
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
 
Old April 25th, 2006, 12:17 PM
Registered User
 
Join Date: Apr 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.






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 06:39 AM
C# 3rd edition -chapter 25 fjgnena BOOK: Professional C#, 2nd and 3rd Editions 0 September 9th, 2004 03:47 PM





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