471,321 Members | 1,919 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Installed Printers - Printer Selection

Hi,

We want to make it possible for our Users to link a printer to a document
type.
Doing that we need to know how we can load the installed printers on the
client system and how we can autoselect an printer using JavaScript

Thanks in advice

Jo
Jul 20 '05 #1
1 8533
Jo Claes wrote:
Hi,

We want to make it possible for our Users to link a printer to a document
type.
Doing that we need to know how we can load the installed printers on the
client system and how we can autoselect an printer using JavaScript

Thanks in advice

Jo


Client-side JavaScript does not have the capability to select a printer or
control any aspects of the printing process (beyond bringing up the system
default print dialog with window.print()). CSS gives you some print
formatting control through @media print { display:none; } type constructs and
page-break-before/after.

Perhaps the ActiveX control described at <url:
http://jibbering.com/faq/#FAQ4_23 /> may provide the functionality you
require.

--
| Grant Wagner <gw*****@agricoreunited.com>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp

* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 6/7 and Mozilla
* http://www.mozilla.org/docs/web-deve...upgrade_2.html
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Aaron_TekRecycle.com | last post: by
reply views Thread by Jeffry van de Vuurst | last post: by
4 posts views Thread by Patrick Fisher | last post: by
1 post views Thread by PCB | last post: by
reply views Thread by Peter Duniho | last post: by
reply views Thread by rosydwin | last post: by

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.