Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 7th, 2005, 04:02 PM
Authorized User
 
Join Date: Oct 2003
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Function for Finding Default Printer

I have a form. I need to find a function for finding default printer on the computer to automatically fill in the input.


<form Name=frmMain action="" method=post>

<table width=300 align=center class=cls_1>

<tr> <%Build_cboReport

%>
<tr><td colspan=2><i><STRONG>Please Provide Criteria:</STRONG></i></td></tr>

    <tr><td><STRONG>Sales Order:</STRONG></td><td>
    <INPUT type=text size=26 maxlength=20 name=txtsalesorder value=<%=i_sales_order%>>
    </td></tr>
    <tr><td><STRONG>Pack Slip:</STRONG></td><td>
    <INPUT type=text size=26 maxlength=20 name=txtshipid value=<%=i_packing_slip%>>
    </td></tr>
    <tr><td><STRONG>Printer:</STRONG></td><td>
    <INPUT type=text size=26 maxlength=20 name=txtprint value=<%=i_printer%>> </td></tr>

<tr>
</table>

<center>
<br>
<input type=submit title="Submit request" name=cmdSubmit value="Submit Request">
<P>
<%
    Main()

%>





Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding Default Browser lowell Visual Basic 2005 Basics 0 March 23rd, 2007 08:36 PM
Finding Printer Status in ASP.NET param99 ASP.NET 1.0 and 1.1 Professional 1 September 20th, 2006 06:21 AM
Default printer anukagni Access 3 March 21st, 2006 08:10 AM
How to change the default printer donrafeal Pro VB 6 4 April 27th, 2004 11:28 AM
Printing with default printer lletnek Beginning VB 6 1 March 4th, 2004 06:26 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.