J
jawaid alam
Hi all forum Member,
I am facing very tropical type of problem. I devoloped a intranet web
project. I want to print crystal report by selecting network printer.
I accessed all network printer in dropdownlist in crystal report page.
when i run crystal report page directly by set as startup page.
Dropdownlist shows all network printer. but when i run my project
through IIS Dropdownlist shows only localhost printers. its not showing
network printers.
i used this code to access all network printer in dropdownlist
Imports System.Drawing.Printing
DropDownList1.Items.Add("---Select Printer---")
Dim pkInstalledPrinters As String
' Find all printers installed
For Each pkInstalledPrinters In
PrinterSettings.InstalledPrinters
DropDownList1.Items.Add(pkInstalledPrinters)
Next pkInstalledPrinters
' Set the dropdownlist to the first printer in the list
DropDownList1.SelectedIndex = 0
Anybody if aware of this kind of problem
Please Suggest me as far as possible
Thank you
jawaid alam
I am facing very tropical type of problem. I devoloped a intranet web
project. I want to print crystal report by selecting network printer.
I accessed all network printer in dropdownlist in crystal report page.
when i run crystal report page directly by set as startup page.
Dropdownlist shows all network printer. but when i run my project
through IIS Dropdownlist shows only localhost printers. its not showing
network printers.
i used this code to access all network printer in dropdownlist
Imports System.Drawing.Printing
DropDownList1.Items.Add("---Select Printer---")
Dim pkInstalledPrinters As String
' Find all printers installed
For Each pkInstalledPrinters In
PrinterSettings.InstalledPrinters
DropDownList1.Items.Add(pkInstalledPrinters)
Next pkInstalledPrinters
' Set the dropdownlist to the first printer in the list
DropDownList1.SelectedIndex = 0
Anybody if aware of this kind of problem
Please Suggest me as far as possible
Thank you
jawaid alam