473,396 Members | 1,914 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,396 software developers and data experts.

How to make ASP automatically print to a certain printer or all printers

I have made an electronic sign out book for my office in ASP using
VBScript.

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).

Even if I had to do this in a VB Program on someones computer, or if
you have any suggestions for my problem. Thanks!

May 1 '07 #1
5 4149
>Problem is, when there is a fire we need to check who is out and who is
burning.

That would be the people who are screaming.

What kind of doofus company do you work for???

Building on fire - Check
I'm not burning - Check
Go to web page - Check
Print page that says I'm not on fire - Check
Get page from default printer - NO!!!!!
Run around building to find other printer - NO!!!!
Die - Check

What the hell kind of dumbass company do you work for??? Grab a piece of
paper from a printer to show you're OK????

How about this.........
Ben Smith - HERE!

Bob Lehmann

<it******@gmail.comwrote in message
news:11**********************@c35g2000hsg.googlegr oups.com...
I have made an electronic sign out book for my office in ASP using
VBScript.

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).

Even if I had to do this in a VB Program on someones computer, or if
you have any suggestions for my problem. Thanks!

May 1 '07 #2
no, I mean like only one person in the building has to get paper from
the printer. It tells us who has signed in and who is meant to be out
of the office (ie on site, away sick)

so then we can do a mark off of names outside to make sure that
everyone is safe and accounted for.

The company is only around 60 people on the one floor, open plan
office, most printers are fairly close to each other (though that
means its likely taht place will catch on fire first heh)

Remember in school, the teachers would mark the roll every morning,
then when a fire/fire drill came we all marched out to the oval/front
of the school and the teacher re-marked hte roll, remembering who were
away today, so if someone was meant to be there and isnt it meant they
were still in danger.

Same thing applies for work, when the fire alarm goes off, and
everyone gets outside, if we have a staff list, call out everyones
names, we have to know who is meant to be there, and who is on site,
in a meeting with client, whatever, so we know who is not ok. We used
to have a manual signout book that sat out hte front, and someone
grabbed it on the way down, but now we have gone electronic, so this
is one of the problems we face.

May 1 '07 #3

<it******@gmail.comwrote in message
news:11**********************@y80g2000hsf.googlegr oups.com...
no, I mean like only one person in the building has to get paper from
the printer. It tells us who has signed in and who is meant to be out
of the office (ie on site, away sick)

so then we can do a mark off of names outside to make sure that
everyone is safe and accounted for.

The company is only around 60 people on the one floor, open plan
office, most printers are fairly close to each other (though that
means its likely taht place will catch on fire first heh)

Remember in school, the teachers would mark the roll every morning,
then when a fire/fire drill came we all marched out to the oval/front
of the school and the teacher re-marked hte roll, remembering who were
away today, so if someone was meant to be there and isnt it meant they
were still in danger.

Same thing applies for work, when the fire alarm goes off, and
everyone gets outside, if we have a staff list, call out everyones
names, we have to know who is meant to be there, and who is on site,
in a meeting with client, whatever, so we know who is not ok. We used
to have a manual signout book that sat out hte front, and someone
grabbed it on the way down, but now we have gone electronic, so this
is one of the problems we face.
I agree with Bob. Computerising this sort of thing is dumb. As a manager I
wouldn't trust any piece of paper and certainly not a computer to ensure my
staff were out of the buidling.

It's the responsibility of managers and the senior staff below them to be
aware of who is in and who isn't. Outside the building the managers should
confirm with the senior staff that their direct reports are out and for the
designated evacution co-ordinator (you have one of those right?) to confirm
with management that their people are out. That way all are accounted for
visually by humans.

The very idea that anyone should wait for a piece of paper to print from a
computer system whilst the building is on fire... well if I didn't think you
were serious I would be ROFLMHO.

May 1 '07 #4
On May 1, 6:38 pm, "Anthony Jones" <A...@yadayadayada.comwrote:
<itfet...@gmail.comwrote in message

news:11**********************@y80g2000hsf.googlegr oups.com...
no, I mean like only one person in the building has to get paper from
the printer. It tells us who has signed in and who is meant to be out
of the office (ie on site, away sick)
so then we can do a mark off of names outside to make sure that
everyone is safe and accounted for.
The company is only around 60 people on the one floor, open plan
office, most printers are fairly close to each other (though that
means its likely taht place will catch on fire first heh)
Remember in school, the teachers would mark the roll every morning,
then when a fire/fire drill came we all marched out to the oval/front
of the school and the teacher re-marked hte roll, remembering who were
away today, so if someone was meant to be there and isnt it meant they
were still in danger.
Same thing applies for work, when the fire alarm goes off, and
everyone gets outside, if we have a staff list, call out everyones
names, we have to know who is meant to be there, and who is on site,
in a meeting with client, whatever, so we know who is not ok. We used
to have a manual signout book that sat out hte front, and someone
grabbed it on the way down, but now we have gone electronic, so this
is one of the problems we face.

I agree with Bob. Computerising this sort of thing is dumb. As a manager I
wouldn't trust any piece of paper and certainly not a computer to ensure my
staff were out of the buidling.

It's the responsibility of managers and the senior staff below them to be
aware of who is in and who isn't. Outside the building the managers should
confirm with the senior staff that their direct reports are out and for the
designated evacution co-ordinator (you have one of those right?) to confirm
with management that their people are out. That way all are accounted for
visually by humans.

The very idea that anyone should wait for a piece of paper to print from a
computer system whilst the building is on fire... well if I didn't think you
were serious I would be ROFLMHO.
and if hte senior people aren't there? people go in and out of the
office all the time, its not like im just talking about sick days,
people leave for an hour, come back, go somewhere else, its impossible
to rely on people to remember where people are, considering the
majority of poeple don't have a senior mentor except for the
directors, who will most likely not be there or no where they are.

Instead I have decided to create a program that uploads a web page
containing the initials, where they are and when they are due back of
whoever is signed out at the moment. It then uploads this to our
company web site hosted interstate, and one of the 60 employees, 85%
of whome have a WAP enabled phone can surf to said address from their
phone, if we need it. It was decided that there is not really that
much of a need for a list of who isnt here, so its not really a big
issue.

btw this isn't my decision, I'm just the nerd who makes the computer
side of stuff happen.

May 3 '07 #5
So do you expect the electricity to still be on in a burning building?

Solution, the person at the front desk,..usually very close to the front
door,... has a clipboard with real paper and an inkpen on a chain (so hackers
don't steal the pen). People come in, they sign in, people leave they sign out.
Keep a spare pen near by in case the ink runs out.

Building is on fire,...person at the desk grabs the clipboard, forget the
pen,...run!

I work at a tv station, we used to have stories about living people that the
computers said they were dead. Now we can do stories on people who are dead
because the computer said they were alive.

--
Phillip Windell
www.wandtv.com

The views expressed, are my own and not those of my employer, or Microsoft, or
anyone else associated with me, including my cats.
-----------------------------------------------------

<it******@gmail.comwrote in message
news:11**********************@h2g2000hsg.googlegro ups.com...
On May 1, 6:38 pm, "Anthony Jones" <A...@yadayadayada.comwrote:
><itfet...@gmail.comwrote in message

news:11**********************@y80g2000hsf.googleg roups.com...
no, I mean like only one person in the building has to get paper from
the printer. It tells us who has signed in and who is meant to be out
of the office (ie on site, away sick)
so then we can do a mark off of names outside to make sure that
everyone is safe and accounted for.
The company is only around 60 people on the one floor, open plan
office, most printers are fairly close to each other (though that
means its likely taht place will catch on fire first heh)
Remember in school, the teachers would mark the roll every morning,
then when a fire/fire drill came we all marched out to the oval/front
of the school and the teacher re-marked hte roll, remembering who were
away today, so if someone was meant to be there and isnt it meant they
were still in danger.
Same thing applies for work, when the fire alarm goes off, and
everyone gets outside, if we have a staff list, call out everyones
names, we have to know who is meant to be there, and who is on site,
in a meeting with client, whatever, so we know who is not ok. We used
to have a manual signout book that sat out hte front, and someone
grabbed it on the way down, but now we have gone electronic, so this
is one of the problems we face.

I agree with Bob. Computerising this sort of thing is dumb. As a manager I
wouldn't trust any piece of paper and certainly not a computer to ensure my
staff were out of the buidling.

It's the responsibility of managers and the senior staff below them to be
aware of who is in and who isn't. Outside the building the managers should
confirm with the senior staff that their direct reports are out and for the
designated evacution co-ordinator (you have one of those right?) to confirm
with management that their people are out. That way all are accounted for
visually by humans.

The very idea that anyone should wait for a piece of paper to print from a
computer system whilst the building is on fire... well if I didn't think you
were serious I would be ROFLMHO.

and if hte senior people aren't there? people go in and out of the
office all the time, its not like im just talking about sick days,
people leave for an hour, come back, go somewhere else, its impossible
to rely on people to remember where people are, considering the
majority of poeple don't have a senior mentor except for the
directors, who will most likely not be there or no where they are.

Instead I have decided to create a program that uploads a web page
containing the initials, where they are and when they are due back of
whoever is signed out at the moment. It then uploads this to our
company web site hosted interstate, and one of the 60 employees, 85%
of whome have a WAP enabled phone can surf to said address from their
phone, if we need it. It was decided that there is not really that
much of a need for a list of who isnt here, so its not really a big
issue.

btw this isn't my decision, I'm just the nerd who makes the computer
side of stuff happen.

May 4 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Nikolay Seksenov | last post by:
I am developing VB.Net Web application to be used in our department intranet. I created a web-based report using Crystal Reports. I would like to print the report from the web server instead of...
1
by: Maileen | last post by:
Hi, We have a little problem in 1 of our ASP page :( on this page, we can add new printers (local or network) and to print a report on a selected (by default) printer. We we do the test on a...
5
by: Fred Nelson | last post by:
Hi: I'm trying to write a program that will print envelopes using a HP Laserjet 4 that has three trays. In the future this program will work with other printers so I don't want to "hard code"...
4
by: William LaMartin | last post by:
I have a vb.net win form where I want to output some text to a printer. Everything works fine when printing to my laser or inkjet printers. However when I print to the Acrobat PDFWriter printer...
2
by: Gidi | last post by:
Hello, I've created a Document which i want to print using the PrintDocument class. In the document i draw some strings, and lines. When I PrintPreviewing my document (using the PrintPreview...
0
by: neeraj | last post by:
Hi all I have developed on desktop application in Visual Basic for Hotel Management and my client requires multiple printing options here I have multiple printers first default printer which...
0
AllusiveKitten
by: AllusiveKitten | last post by:
Hi kind and helpful people... At work I am creating a database and reports that will be used by multiple people. What I need is for my reports to print to a specific colour printer and be manual...
0
by: jigsmshah | last post by:
i am working on a project (windows service using VB.Net and C#) which gets the check details and check images from the database and prints the check to a printer. Printer name is configured in a...
4
Rabbit
by: Rabbit | last post by:
Here's my question. Does my connecting to the printer by IP affect the print server? The circumstances surrounding this question follows below. We have 16 network printers, most of them HP...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.