How To Make ASP Automatically Print To A Certain Printer Or All Printers

Problem is, when there is a fire we need to check who is out and who
is burning. I have been trying to think of how to go about this,
perhaps the only way is by having an 'emergency print' button that
quickly prints thedocument to one, or even better all printers on the
network. That way when everyone is leaving they can grab the print
from the printer.

Probably the only other way is to make it email a list of all the
people who are not signed out and send it to someone with a PDA phone
I guess.

So my question is, how do I get it to have a button you click which
will print the page to a printer without needing any further input.
Also, is it possible to make it print to a certain printer on the
network, and can I make it print to a list of printers (or even just
any printer it can find).

View Replies


ADVERTISEMENT

How To Print Barcode On Network Printers

I would like to get more info regarding how to print barcode from ASP page to the default printer on the network(based on IP)? Been trying to google for related info but couldn't find any that helps as most of them are .NET related.

Maybe someone here can tell me where can I find more info regarding the question above?

View Replies View Related

Print PDF Files To Network Printer

How Can I print PDF files to network printer or server printer using asp or asp.net

wuth out open PDF file

Or if there are not Code to do that can anyone tell me about buying component do that.

View Replies View Related

How Can I Make An Automatically Reminder In My Web Site ??

I want to send the registerd users on my web site emails on a specific time automatically for example: a birthdate reminder.

But I need this to be done automatically when the time reached as they specified in the registeration form. Others said to me that the only available ways is to make an application for this, and make it run forever on the server to check the DB, and when the time reached it sends the reminders.

View Replies View Related

Printer Friendly Page :: Directly Print The Content From Textbox Data

how to print the content of a multiline textbox without taking the content to some other "printer friendly" page. I just wanna send whatevers in the textbox directly to the printer.

View Replies View Related

Can't See Network Printers In IIS

I have a dll I wrote in VB6. Basically, it can list all the printers
it finds as well as print to a selected printer.

I created a test app in VB6, added the dll as a reference, and added
the following in a button click: Code:

View Replies View Related

User Add Printers Via Web Page

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 example code or hand-holding on the web integration portion.

"Aaron_TekRecycle.com" <aaron_NAME@DOMAIN_tekrecycle.com> wrote in message
news:eNuYPY#TDHA.2260@TK2MSFTNGP12.phx.gbl...[color=blue]
> Does anyone know of an ASP page that will query the AD and list all the > printers so the users can "click to add" printer mappings to their[/color] profile?[color=blue]

View Replies View Related

COM+ Component Printers Collection Is Empty

I have a VB6 ActiveX DLL that we use for printing. It iterates through
the printers collection to set the printer to the one the user
requested. This is called from ASP (VB Script) pages, and from a VB
Web Class application. The problem is, sometimes the printers
collection is empty, so it fails to print.

The COM+ package is configured to run as a known user. This user has
printers configured. If we logon to the Web Server as the known user,
and restart component services, then the printers appear and it all
works. if we leave the console logged on, it keeps working. If we log
the console off, then at some point (overnight), it 'forgets' the
printers.

We now have a customer where leaving the console logged on is not an
option. And they do not want to logon to 'kick start' it. The first
users come in early in the morning, before IT is at work to resolve
teh porblem.

This is occuring on Windows 2000 Server, and on Windows 2003 server.

I have tried:

- Searching the web.
- Using EnumPrinters instead. This gives the local pronters, but not
the network pronters.
- (I am trying) using OpenPrinter first.
- I have tried to find a way to force the DLL to initialise the
security, without success.

View Replies View Related

Show Installed Printers On A Computer

The following code is used to show installed printers on a computer,it works on server machine,however, if use a client machine to browse, it also shows the intalled printers on the server machine.Actaully, what i want to do is to show what printers installed on your own machine (that means show it on client-side)...

View Replies View Related

Print An ASP Form By Clickng Print Button On Same Page

i make a data display page, its showing all records, now i want user just press print button, and that print all data on screen, secondly user input 2 dats From ..... To......, so data in between that day will print,

View Replies View Related

Wscript.Shell Run PRINT And NET PRINT Returns Nothing

No error or any feedback that I can work with.

Code:
set objShell = Server.CreateObject("WScript.Shell")

objShell.Run "%comspec% /c NET PRINT GarchiveISLaser[color=blue]
>c:WUTempPrinter_Status1.txt", 0, True[/color]
objShell.Run "%comspec% /c PRINT /d:GarchiveISLaser c:WUTemp est.txt",
0, True

Set objShell = nothing

I can run these commands successfully from the command-prompt on the server
but from an ASP page, I get nothing not even an error. The Text output for
NET PRINT is a blank text file.

I feel something is different on the permissions side because this
code/approach use to work fine.

View Replies View Related

Self.print Without Browser Print Prompt

When I use self.print the browser launches the print prompt, then I have to manually press print... DOes anyone know how to get around this.

View Replies View Related

IE Printer

In my WEB application (developped in ASP), i would like to be able to print
a report with data extracted from DB.

I would like to have a button that when i click on it, i launch action like
IE - > FILE -> print.

how can i do this ?
I think that one way is to use activex but i would like to be able to not
use activex too.

View Replies View Related

Printer Friendly

Just looking for an affective and easy to use free 'Printer Friendly' script for an Intranet.

View Replies View Related

Printer Setup

Is there code that I can write that will change the user's printer setup so that my web page will always print out on one page. I would like the output of the page to look the same no matter who is printing the page. How do I do this?

View Replies View Related

Printer Orientation

I wanted to set one of printer friendly pages to landscape, where the user do not need to set it manually.... I tried adding this code to my page, but it doesn't seem to work:

<style type="text/css">
@page { size:landscape; }

</style>

View Replies View Related

Printer Friendly

I have an asp application that generate reports. The reports are a list of tables that contain information about users. each user has his own table. how do I get the tables to be printer friendly using either css or a script.And how do I page break the tables.

View Replies View Related

Printer Command

In Vb6 i use Printer.print command with coordinated printing... Is there any
way to use it also in ASP or how.

if creating server.createobject("param") what will be the param.

View Replies View Related

Buffer To Printer

Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objTemplateFile = objFSO.OpenTextFile(Server.MapPath("template.txt"))

strTemplateText = objTemplateFile.ReadAll
objTemplateFile.Close
Set objTemplateFile = Nothing

strTextToPrint = strTemplateText
strTextToPrint = Replace(strTextToPrint, "{date}", Date())
strTextToPrint = Replace(strTextToPrint, "{time}", Time())
strTextToPrint = Replace(strTextToPrint, "{message}", strMessage)
Response.Write strtexttoprint

How do I send strTextToPrint to my default printer?

View Replies View Related

Communication With The Printer

i need a asp coding to communicate with the printer.here i need to get printouts of the selected data from the system .inside my interface i give the printer port in the network,printer path and the username password,after checking these things it specify the print job .

View Replies View Related

Output Printer

i m giving link print this article to my users to print the page.

Code:

<A HREF="javascript:window.print()">Print this article</A>

but it is printing whole window but i want to print only news part. i want to make the printed output "printer friendly". means stripped off the left and right side crap. And the banner ad at the top.

View Replies View Related

Pause Printer

I am printing a payslip contains nearly 22 lines. Each time i am generating one employee payslip. If i print using window.print() prints the payslip and aligns to next page. I want to stop the printer and go back and generate next emp payslip. so that i can save paper.

How can i do this. I can generate 3 payslips but there are many calculations for each emp. so i want to generate one by one.

View Replies View Related

Printer Dialogue Box

I have print icon on a page and when clicked it goes to a page which is the same but without any buttons etc that do not need to be printed.

The client now wants that instead of clicking file print etc that the printer dialogue box pops up automatically.

View Replies View Related

Duplex Printer

Anyone had any fun with setting page breaks with a duplex printer? Example, you have one document with several sections each with a different number of pages.

But you always want each section to start on the front side of the paper not on the back of the last page of the previous section. I have seen information on setting left/right but I have not been able to get it to work.

View Replies View Related

Printing To The Host Printer ??

I am writing a website in asp for a take out restaurant. Customers can place order from their website. What I want to do is, print out the order form from the restaurant's printer when an order is placed, so none is required to manually print out the order list. Is it possible and how??

View Replies View Related

Printer Friendly Form

I have developed a client based form using vbscript for a web page to run on IE and would like to make this form printer friendly. Anyone have some ideas?

View Replies View Related

Printing From ASP To Network Printer

I have 2 questions :

1. - I want to print from my ASP page directly to my network printer. For this i use the following code, but everytime, my document to print is sent to local and physical port LPT1 not to network printer : Code:

View Replies View Related

Page Breaks To Printer

I am creating some reports with ASP and have come to a bit of a problem. Does anyone know how can I send a page break to the printer? I need to be able to start different items fresh on a new page and I really have no idea how to do it.

View Replies View Related

Printer Friendly Page

Just want to ask if anyone here has experience with doing printer friendly page. I have done a printer friendly page but the problem is if the line overflow, the printer friendly page will 'run' because my code count line by line, but by charactar or pixel.

View Replies View Related

Printer Friendly Pages

my data all can display.but when link it 2 printer friendly pages no data display

View Replies View Related

Printer Friendly Code

Is there a way to get a printer friendly page using ASP. And when I say this I do not mean removing banner, picture etc and print the page.

The problem I face is, an ASP output is a big table with say 10-15 columns and it would not print even in landscape mode. So if I print the output from the IE browser the right side of the table gets cut. I want to know if there is an ASP code to over come this problem.

View Replies View Related

To Send The Resultset To Printer

I want to send the whole resultset i retrieved. now i am retrieving the resultset and able to print 15 records in one frame. if i want to print whole the dump records what i have to do.?

View Replies View Related

Printer Connection From ASP Page

I'm using an ASP page to display all our office printers, I want the users to have to possibility to install the network printer with just one click on the page. Is this possible. ?? PS all information is retrieved from SQLServer.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved