borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (datagrid checkbox in edit mode)Next Topic (importing data from excel in VB.net) New Topic New Poll Post Reply
AndreaVB Forum : VB.Net : server side crystal printing
Poster Message
Anita
Level: Big Cheese

Registered: 19-05-2005
Posts: 24

icon server side crystal printing

I'm using the PrintToPrinter method to print a Crystal report (Ticket.rpt).  The report is part of my VB project.  

Here is the code:
Dim oRptTkt As New Ticket()

oRptTkt.PrintOptions.PrinterName = "someprinter"  'printerName

oRptTkt.PrintToPrinter(1, False, 0, 0)

I'm getting error msg:  Request cancelled by user.

I've modified Machine.config to run framework under SYSTEM instead of local machine account.  Have given access to printers to the SYSTEM account.

Still get error -- Request cancelled by user.  

Can someone help?  Thanks,

23-03-2006 at 04:30 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB.Net : server side crystal printing
Previous Topic (datagrid checkbox in edit mode)Next Topic (importing data from excel in VB.net) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder