home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR16
/
LISTQSV3.ZIP
/
LISTQS.DOC
< prev
next >
Wrap
Text File
|
1993-08-30
|
5KB
|
146 lines
L I S T Q S
This program monitors all aspects of printers and queues on a
Novell Netware 3.x network.
It displays:
The number of jobs waiting to print on each queue and a guess
at how long these jobs will take to print.
A list of each printer including the job currently printing,
the owner of that job and the time remaining for it to print
OR the time the last job finished on that printer.
The program will also inform you of any required form changes
and when a printer runs out of paper.
The screen display is similar to the following:
PRINTQ_0 3 jobs Forms 020 Total bytes 329871 (12 mins)
PRINTQ_1 3 jobs forms 1 Total bytes 46032 (2 mins)
0 on-line PRINTING 00:03:35 left of 00:15:47 FRED
1 on-line 13:47
2 on-line ** 13:52
3 Out of Paper PRINTING 00:28:56 left of 01:52:22 WILMA
4 OFF-LINE PRINTING 1.2 mins left of 1.2 BARNY
As shown above, PRINTQ_0 has three jobs waiting to print (or being
added to the queue), two of which are on form 0 and one is on form
2.
PRINTQ_1 has 3 jobs also, but two of these jobs are being printed
and no longer show beside the print queue.
Printer 0 is printing a job for Fred which has 3.5 minutes left out
of 15.6 minutes.
Printer 1 last finished printing at 13:47.
Printer 2 last finished printing at 13:52 and the asterisks show
that this was the most recently finished job.
Printer 3 is out of paper and printer 4 is off-line.
This quickly tells you:
How busy are the printers
Where each job is printing
When a printer runs out of paper or needs a different form
How long will each job take
So now when someone asks how long their printout will be, you can
say exactly when it will finish or about how long before it will
start.
If you have multiple printers servicing a queue, this makes it much
easier to locate where a printout is printing.
All this is controlled by a file called LISTQS.DAT. This is an
ASCII file similar to:
Bell=ON Beep for both out of paper and form
changes. Options are: Bell=on,
bell=off, bell=paper, bell=form
F0=0,8 Forms supported by printer 0 are 0
and 8. This controls when the
program will prompt you to change
forms. This has no effect if the
printer is not set to "Print only
currently mounted form".
P0=31353,347 Printer 0 averages 31353 bytes per
minute over 347 jobs.
F1=0,8 Printer 1 also supports forms 0 and
8.
P1=40653,191
F2=1,2,3,4,5,6,7,10
P2=34056,86
F3=9,11
P3=21529,191
F4=0
P4=33738,224
F5=0,8
P5=27581,237
F6=0
P6=22758,96
Update=3+ Update interval in seconds. The +
indicates that a second is added to
the interval for each additional job
in a print queue. Therefore,
Update=3 will update every 3
seconds, but Update=3+ will update
every 3 seconds if there are no jobs
to print, every 4 seconds if one job
and so on.
When starting, the file should look something like this:
Bell=ON
P0=25000,1
P1=25000,1
P2=25000,1
P3=25000,1
F0=0,8
F1=0,8
F2=1,2,3,4,5,6,7,10
F3=9,11
Update=3+
A sample file has been included. This lines may be in any order
and either upper and/or lower case may be used.
To run the program, copy the LISTQS files into a directory within
the path. You must have read and write access to this directory
for the printer information to be saved. Type LISTQS and then
press enter. To stop the program, press any key. When a key is
pressed the program first saves the information collected on the
speeds of the various printers before exiting.
The initial speed is taken from the average of all the jobs (up to
2000) printed on each printer. Once some of a job has been
printed, the times are adjusted to the actual printing speed.
This program is used by me in any program on the network that is
always running. The routines are called whenever a program is not
currently doing anything. If you would like to include this in
your programs, please let me know.
New for this version - /b switch will force black and white display.
- there will not be the same foreground and
background colours.
Mark Pucyk
Internet: Mark.Pucyk@canrem.com