Specifications

4-35
Printer, Plotter, and Spooler Subsystem Programming
get_to() Returns an array of characters containing the name of the
person for whom the job is intended. The return value is of
type char*.
get_was_idle() Returns TRUE if the printer was idle at job beginning
(useful for paper feed: feed/no feed).
Returns the charge for printing the current job.
log_charge (charge) int charge;
Returns the charge for printing the current job.
log_init Initializes certain data common to the library routines.
log_pages( pages ) Updates the status file with the number of pages printed.
log_percent( percent ) Updates the status file with the percent of job completed.
log_progress(log_pages ( int ),log_percent( char ))
Updates the status file with the number of pages printed
and percent of job completed. This function uses
log_pages and log_percent.
log_status( status ) Changes the status of the job from RUNNING to WAITING
and back again. The parameter is the new status.