Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports 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 September 16th, 2005, 02:21 AM
Registered User
 
Join Date: Sep 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Web Printout problem


Hello I need some help

I setup my Web application to print from a WebServer. I have setup the
account so that it can print correctly. However, it can only print if
the printer is connected to Win98 but if the

printer is connected to Win2000/XP, it throws an error:

Error in File xxx Request cancelled by the user.


Here is my code to print over the web:

Dim x As ReportDocument = New ReportDocument()
x.PrintOptions.PrinterName = "xxx"
x.PrintToPrinter(1, True, 1, 1) '(eror on this line)

i allready tried to change machine.config
in the process model tag change the user name to "SYSTEM" but it was not succeded




Please give me a solution
thank u all

 
Old September 20th, 2005, 09:21 PM
Registered User
 
Join Date: Sep 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i allready edit machine.config file
userName = "machine" password = "AutoGenerate"
This can be changed to
userName = "System" password = "AutoGenerate"
but still failed

please give me solutions






Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with DoCmd.Printout (Access2003) John Deutsch Access VBA 4 January 22nd, 2008 12:45 PM
Listbox printout scriptingit Access VBA 0 August 28th, 2006 08:59 AM
Printout Error? cmperez VB How-To 0 July 13th, 2006 10:29 PM
updated printout problem jicker VB Databases Basics 2 August 3rd, 2004 08:16 AM
How to Get printout.............. arshad mahmood VB Databases Basics 1 August 11th, 2003 08:50 AM





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