-
printing crystal report directly,using "print to printer"
hi,
-->sorry for poor english
i have a web application report. using "print to printer" inst, i send the report directly to the printer, without showing it in adobe acrobat. when i run the report locally it works good and would be printed, but by publishing the site , i get this error: no printer are installed!
why???
-
Maybe it is looking for a printer on the web server running your site?
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
-
I think so!but.... what should I do?
-
If you don’t get an answer here, you might try Crystal’s tech support site: http://support.businessobjects.com/
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
-
i couldn't find any solution,yet
-
How are you sending the document to print? What is your code?
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
-
i use this code in vb.net using crystal report:
CrystalReportSource1.ReportDocument.PrintToPrinter(1, true, 1, 1)
-
how could i find the installed printers on clients? any idea?! please help me it is so urgent!
-
 Originally Posted by pourhabibi
how could i find the installed printers on clients? any idea?! please help me it is so urgent!
Code:
Imports System.Drawing.Printing
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim prtdoc As New PrintDocument
Dim strDefaultPrinter As String = prtdoc.PrinterSettings.PrinterName
Dim strPrinter As String
For Each strPrinter In PrinterSettings.InstalledPrinters
ComboBox1.Items.Add(strPrinter)
If strPrinter = strDefaultPrinter Then
ComboBox1.SelectedIndex = ComboBox1.Items.IndexOf(strPrinter)
End If
Next strPrinter
End Sub
End Class
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
Similar Threads
-
By pourhabibi in forum ASP.NET
Replies: 4
Last Post: 03-26-2008, 06:50 AM
-
By saadahmed42 in forum ASP.NET
Replies: 1
Last Post: 06-30-2007, 01:57 AM
-
By AM003295 in forum VB Classic
Replies: 4
Last Post: 08-12-2005, 09:13 PM
-
By Liz Romero in forum ASP.NET
Replies: 2
Last Post: 06-08-2002, 11:30 AM
-
By Monir Hossain in forum VB Classic
Replies: 0
Last Post: 08-11-2001, 03:18 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks