Discussion Locked

Activity Log

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I would like to monitor all items sent to printer on a Macintosh. I would like to have this saved in a log format that is only retrievable through the use of a Password (i.e. restricted access). I would like to have this run as long as the MAC is in use. Any idea how I can go about this?

3 replies

by lyon_bleu

Depending on the versions of the OS and the printer driver, such
a hidden log file might already exist, in which case you would
only need to determine how to read it. My first approach would
be to look into the documentation and or inquire with the
manufacturer of the printer whether this is the case.

If not, an AppleScript could be written, saved as an application,
and launched at startup that polls for the print event. At that
point you could write to a log file, or even duplicate the spool
file to a hidden location and examine that at your leisure.

Protecting the log file itself with a password is not the only way
to restrict access. Saving it to a hidden folder, or to a "drop box"
[read only] on a password protected account could also work.

Hope this helps,

paul

by lyon_bleu

Testing for the print event and logging the circumstances is one
thing. Restricting access to the print server is quite another. I'm
confident that the former can be accomplished in AppleScript
without causing harm, but the latter might better be handled
administratively. Did you mean to say "Login" instead of "Log"?

by jobuya

What I had in mind is best described by the last Paragraph where some sort of a script (which in this case Applescript) is written that bring up a pop window where the user has to log in before the printing action is executed. Is there someone who can help with this script?

This discussion is closed to new replies.