Profile Picture

Print Manager on Vista 64 Bit

Posted By Ted O'Grady 15 Years Ago
Author
Message
Pavel Vladov
Posted 15 Years Ago
View Quick Profile
Forum Member

Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)Forum Member (34 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 33, Visits: 2

Hello Ted,

We are investigating this problem, I think this is a .NET Framework related issue (it has problems with printing in a 64 bit OS), but you have found the correct workaround (setting the build platform to x86).

Regards,

Pavel



Ted O'Grady
crazy Posted 15 Years Ago
View Quick Profile
Junior Member

Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)

Group: Forum Members
Last Active: 11 Years Ago
Posts: 12, Visits: 1
I am having trouble getting the print manager to work on a 64 bit Vista Machine. Is there something I am doing wrong?

Code:
======
NPrintManager printManager = new NPrintManager(drawingDocument);
printManager.PrintOnSinglePage = true;
printManager.SinglePageLayout = CanvasLayout.Fit;
printManager.Print(true);


Environment
===========

OS: Windows Vista Home Premium SP2. 64 Bit OS.
Nevron Version: Nevron .NET Vision 2009.1 for VS2008 SP4
Development Environment: Visual Studio 2008
.NET Version: Microsoft .NET Framework 3.5 SP1
Printer: Wireless Network printer - Brother 9840 CDW


Observed Behaviour:
===================

1) Printing a document returns false,(e.g. printManager.Print(true); ) printer dialog does not come up. Can't figure out what false means, still haven't found all the documentation.

2) Replicated in Precompiled Nevron Example Application: Does not bring up the printer dialog and fails to print as well
Run: Nevron.Examples.Diagram.WinForm.exe
Try C# Example : Print Manager : Print Preview : Print

3) Running the identical code and example on a Windows XP SP2 32 bit machine (running in a ||'s VM on a Mac) works fine and prints

Workaround:
===========

If the app is compiled to an x86 platform rather than Any CPU printing works fine...

Help:
=====
Is there something I am doing wrong?


Thanks in advance for your help.



Similar Topics


Reading This Topic