Team BBL
Previous Page Next Page

Exercises

21.1

Translate the IPP error code values listed in ipp.h into error messages. Then modify the print spooler daemon to log a message at the end of the printer_status function when the IPP header indicates a printer error.

21.2

Add support to the print command and the printd daemon to allow users to request double-sided printing. Do the same for landscape and portrait page orientation.

21.3

Modify the print spooler daemon so that when it starts, it contacts the printer to find out what features are supported by the printer so that the daemon doesn't request an option that isn't supported.

21.4

Write a command to report on the status of pending print jobs.

21.5

Write a command to cancel a pending print job.

21.6

Add support for multiple printers to the printer spooler. Include a way to move print jobs from one printer to another.

    Team BBL
    Previous Page Next Page