NAME

Net::CUPS::Printer - CUPS C API Interface.

SYNOPSIS

use Net::CUPS::Printer;

ABSTRACT

This is the abstract for this file.

FUNCTIONS

cupsCancelJob ( DESTINATION, JOBID )

Function to remove a job from the queue.

cupsErrorString ( ERRORCODE )

Function to translate a numeric error code into a human readable form.

cupsGetClasses ()

This function returns an array of all available printing classes.

cupsGetDefault ()

Function to return the default printer.

cupsGetDests ()

This function returns an array of all available printing destinations.

cupsGetPrinters ()

Function that returns an array of all available printers.

cupsGetJobs ( DESTINATION, NOTALL, COMPLETED )

A function to return the jobs currently in the printer spool. Destination is the printer to query. The NOTALL argument indicates if you want just your print jobs (1) or if you want to see all of the jobs (0). If the COMPLETED variable is set to true then only the completed jobs will be returned. If it is set to false then all pending/processing jobs will be returned.

cupsGetPassword

Utility function for grabbing a password using the callback set by cupsSetPaswordCB.

cupsLastError ()

Function to grab the last error code the CUPS system encountered.

cupsPrintFile ( DESTINATION, FILE, TITLE, OPTIONS )

Function to send a FILE to be printed by DESTINATION. TITLE is the name of the job. OPTIONS is a hash reference holding the perfered printing options.

cupsPrintFiles ( DESTINATION, FILES, TITLE, OPTIONS )

Function to send FILES to be printed by DESTINATION. TITLE is the name of the job. OPTIONS is a hash reference holding the perfered printing options.

cupsServer ()

Grabs the name of the current choosen CUPS server.

cupsSetPasswordCB( CALLBACK )

Function to set the callback for the cupsGetPassword function.

cupsUser ()

Grabs the username of the selecting printing user.

DESCRIPTION

Net::CUPS::Printer is an interface to the Common Unix Printing System API.

AUTHOR

D. Hageman <dhageman@dracken.com>

SEE ALSO

None.

COPYRIGHT

Copyright (c) 2003-2005 D. Hageman

Copyright (c) 2006 Dracken Technology, Inc.

All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself

CUPS, the Common UNIX Printing System, the CUPS logo, and ESP Print Pro are the trademark property of Easy Software Products.