Jo Claes wrote:
[color=blue]
> 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[/color]
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 <gwagner@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