473,396 Members | 1,898 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Print on client side

Hi

How can I get the installed printers in the client side

This code return the installed printers on the server side, but I want the
user to be able to print from his own computer and not from a printer that
is attached to the server.

Foreach printer Type( *string ) Collection(
printersettings.installedprinters)
listbox1.Items.add( printer)

Endfor

thanks

Ofer


Nov 18 '05 #1
1 1529
The only thing you could do using HTML/JavaScript is to call
"window.print();" client side (or let the user call the print dialog from
its menu) (for security reasons).

Patrice
"Ofer B." <of************@hotmail.com> a écrit dans le message de
news:ON**************@tk2msftngp13.phx.gbl...
Hi

How can I get the installed printers in the client side

This code return the installed printers on the server side, but I want the
user to be able to print from his own computer and not from a printer that
is attached to the server.

Foreach printer Type( *string ) Collection(
printersettings.installedprinters)
listbox1.Items.add( printer)

Endfor

thanks

Ofer

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: phuongpv | last post by:
How to print an excel file in asp?
2
by: Kitkat | last post by:
Hi, i hope my english is good enough to explain my problem. Okay, I have a html-file with a image. But i don't want to save or print the html-file with the image. I want to save or print a...
1
by: May | last post by:
is it possible to print a web page by using the PrintDocument class? The thing is that I need to print out some data in a nice format if possible, to a client's default printer. I got the printing...
2
by: Yuriy | last post by:
Hello! I need to print PDF Document by clicking a button on .aspx page. The PDF should be printed on client printer without displaing it on the window. I tried Process namespace but it doesn't...
2
by: AP No spam | last post by:
Hi I need help to Print Pdf File directly without preview from client side To solve problem I used This C# code Response.Buffer = true;
5
by: Ben | last post by:
Hi All, I have a form which requires input, has conditional server side validations and print functionality. There is a print button which does client side validation & then custom validation, if...
5
by: =?Utf-8?B?SkxvYm8=?= | last post by:
I need to print a flat file or send printer controls to a specified printer or port (lpt1,lpt2, com1...) in a web page. Is it possible? How? -- JLobo
4
by: drec | last post by:
I currently have a script together that will display one record per page and allow the user to manually click through pages to view the next record. How can I translate this to printing the data? ...
4
by: Joe Kovac | last post by:
Hi! I would like to create a page, where the user can print the lower part of the page by pressing a button. It might look like this: ----------------------------------------------- o...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.