473,388 Members | 894 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,388 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 9251
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Aaron_TekRecycle.com | last post by:
Someone must have done this before?!? I have VBS code that will Enumerate all the Printers in the AD and Add the Printer Connection to the client... I'm just not a web developer so I need some...
0
by: Jeffry van de Vuurst | last post by:
Hi, I have a PrintDocument that I preview in a PrintPreviewControl. Now I run the app on a pc without any printers installed and when I want to preview the PrintDocument I get an...
4
by: Patrick Fisher | last post by:
Hi I want my program to throw up a message whe the user tries to open a report where a default printer has not been installed as Access 97 just sits there refusing to open the report with no...
1
by: PCB | last post by:
Hi all! I have a subroutine that prints reports on a specific printer. The code works fine as long as all the printers available to the computer are on the network. However, if the computer also...
1
by: studboyshabbir | last post by:
Dear All, I am creating a vb.net application which will print receipts. But I have two printers attached on my pc and I want a selection of printer. whatever printer I select, Receipt...
1
by: Phil H | last post by:
I have a VB.NET console application that uses the Excel PIA. I set it up to run on a W2K box through Task Scheduler, under a domain account that has rights to all of the resources the app uses. I...
6
convexcube
by: convexcube | last post by:
Hello Everyone, I have a form setup with a combo box that displays a list of the installed printers using code from this article. On a button called cmdPrint I have placed code in the OnClick...
1
by: Peter | last post by:
ASP.NET 3.5 I am trying to print from a Webservice on Windows 2003 box, but I am getting the following error when I try to print I have tried the following solution but it did not help...
0
by: Peter Duniho | last post by:
On Wed, 23 Apr 2008 09:40:14 -0700, Al Meadows <fineware@fineware.com> wrote: This doesn't really seem to be a .NET or C# question. However, you may want to look at the driver settings...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.