Question about logging printer jobs...


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Question about logging printer jobs...
# 1  
Old 12-02-2005
Question about logging printer jobs...

Is there anyway for me to run a script or something so when the network printer is activated that it logs the job name and the amount of paper used, then emaisl it to a designated email *Konicapaper@whatever.com*? For example i print job name test Konica and it uses 20 sheets of paper. then i print out test#2 and it uses 80 pieces of paper. I am running apple OSX if that helps any. I am also using the bourne shell, and Darwin. If any more info is needed just ask.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Remote Script command logging question

I've noticed that when running a script that connects to a number of our servers (to essentially run batch commands) that the commands aren't logged in the user's .sh_history or .bash_history files. Is there a place where this is logged (assuming the script itself isn't doing the logging and I'm... (3 Replies)
Discussion started by: kneemoe
3 Replies

2. Shell Programming and Scripting

waiting on jobs in bash, allowing limited parallel jobs at one time, and then for all to finish

Hello, I am running GNU bash, version 3.2.39(1)-release (x86_64-pc-linux-gnu). I have a specific question pertaining to waiting on jobs run in sub-shells, based on the max number of parallel processes I want to allow, and then wait... (1 Reply)
Discussion started by: srao
1 Replies

3. AIX

AIX v5.2 Printer Question

Hi All, I have an AIX server runing v5.2.0.0 OS and i am trying to print to a printer attached to the parallel port. I have successfully configured a printer and a print queue. However, when i submit the job i get the following error Message from queueing system: 0781-088 Queue z:lp0 went... (4 Replies)
Discussion started by: rramanuj
4 Replies

4. Linux

Question about cron jobs

with the cron format * * * * * | | | | | | | | | | | | | | | +---- Day of the Week (range: 1-7, 1 standing for Monday) | | | +------ Month of the Year (range: 1-12) | | +-------- Day of the Month (range: 1-31) | +---------- Hour (range: 0-23) +------------ Minute ... (1 Reply)
Discussion started by: buyog
1 Replies

5. UNIX for Advanced & Expert Users

AIX v5.2 Printer Question

Hi All, I have an AIX server runing v5.2.0.0 OS and i am trying to print to a printer attached to the parallel port. I have successfully configured a printer and a print queue. However, when i submit the job i get the following error Message from queueing system: 0781-088 Queue z:lp0 went... (1 Reply)
Discussion started by: rramanuj
1 Replies

6. UNIX for Dummies Questions & Answers

Question about Cron jobs?

I can see where the nohup command can come in very handy. My question is, do you have to do something like this (nohup) in order to run certain cron jobs? On the windows side, I have a couple of scripts that basically run continuously, so all I have to do is ctrl-alt-del to lock my workstation,... (2 Replies)
Discussion started by: wmosley2
2 Replies

7. UNIX for Dummies Questions & Answers

Printer question

This question may sound very stupid to you guys... I am having a problem with a dot-matrix printer, which is named printer16 in our SunOS 5.6 system. Since it is a hardware problem, I want to use an alternate dot-matrix printer as a spare. But, before replacing the printer physically, I need to... (2 Replies)
Discussion started by: annedeb
2 Replies

8. UNIX for Dummies Questions & Answers

logging question

Does anyone know if there is any logging of events by the system when running a solaris server? What I'm specifically looking for is to see why a shell stopped. Thanks! (1 Reply)
Discussion started by: gillbates
1 Replies

9. UNIX for Dummies Questions & Answers

Samba Printer question

While running Samba on a linux box on my network I have discovered that when I try to add a printer to a windows host my samba box apears as a print server. This has caused a slow down on the generation of the print server list. What I would like to do is set up samba so that it does not apear... (1 Reply)
Discussion started by: xaviorm
1 Replies

10. UNIX for Dummies Questions & Answers

Logging question

Is there a log I can go to that will give me the filesystem opeations of all users. I wrote a script to delete some files and I want to make sure none were deleted out of a particular directory. Dave (1 Reply)
Discussion started by: nucca
1 Replies
Login or Register to Ask a Question
printers.conf(5)						    Apple Inc.							  printers.conf(5)

NAME
printers.conf - printer configuration file for cups DESCRIPTION
The printers.conf file defines the local printers that are available. It is normally located in the /etc/cups directory and is generated automatically by the cupsd(8) program when printers are added or deleted. Each line in the file can be a configuration directive, a blank line, or a comment. Comment lines start with the # character. DIRECTIVES
<Printer name> ... </Printer> Defines a specific printer. <DefaultPrinter name> ... </Printer> Defines a default printer. Accepting Yes Accepting No Specifies whether the printer is accepting new jobs. AllowUser [ user @group ... ] Allows specific users and groups to print to the printer. DenyUser [ user @group ... ] Prevents specific users and groups from printing to the printer. DeviceURI uri Specifies the device URI for a printer. ErrorPolicy abort-job ErrorPolicy retry-current-job ErrorPolicy retry-job ErrorPolicy stop-printer Specifies the error policy for the printer. Info text Specifies human-readable text describing the printer. JobSheets banner banner Specifies the banner pages to use for the printer. KLimit number Specifies the job-k-limit value for the printer. Location text Specifies human-readable text describing the location of the printer. OpPolicy name Specifies the operation policy for the printer. PageLimit number Specifies the job-page-limit value for the printer. PortMonitor monitor Specifies the port monitor for a printer. QuotaPeriod seconds Specifies the job-quota-period value for the printer. Shared Yes Shared No Specifies whether the printer is shared. State idle State stopped Specifies the initial state of the printer (Idle or Stopped) StateMessage text Specifies the message associated with the state. StateTime seconds Specifies the date/time associated with the state. SEE ALSO
classes.conf(5), cupsd(8), cupsd.conf(5), mime.convs(5), mime.types(5), http://localhost:631/help COPYRIGHT
Copyright 2007-2011 by Apple Inc. 29 April 2009 CUPS printers.conf(5)