Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals  

include/gimp-print/printers.h File Reference

Printer functions. More...

#include <gimp-print/vars.h>

Go to the source code of this file.

Typedefs

typedef void * stp_printer_t
 The printer opaque data type (representation of printer model).

typedef const void * stp_const_printer_t
 The constant printer opaque data type (representation of printer model).


Functions

int stp_printer_model_count (void)
 Get the number of available printer models.

stp_const_printer_t stp_get_printer_by_index (int idx)
 Get a printer model by its index number.

stp_const_printer_t stp_get_printer_by_long_name (const char *long_name)
 Get a printer model by its long (translated) name.

stp_const_printer_t stp_get_printer_by_driver (const char *driver)
 Get a printer model by its short name.

stp_const_printer_t stp_get_printer (stp_const_vars_t v)
 Get the printer model from a vars object.

int stp_get_printer_index_by_driver (const char *driver)
 Get the printer index number from the printer model short (driver) name.

const char * stp_printer_get_long_name (stp_const_printer_t p)
 Get a printer model's long (translated) name.

const char * stp_printer_get_driver (stp_const_printer_t p)
 Get a printer model's short (driver) name.

const char * stp_printer_get_family (stp_const_printer_t p)
 Get a printer model's family name.

const char * stp_printer_get_manufacturer (stp_const_printer_t p)
 Get a printer model's manufacturer's name.

int stp_printer_get_model (stp_const_printer_t p)
 Get a printer model's model number.

stp_const_vars_t stp_printer_get_defaults (stp_const_printer_t p)
 Get the default vars for a particular printer model.

void stp_set_printer_defaults (stp_vars_t v, stp_const_printer_t p)
 Set a vars object to use a particular driver, and set the parameter to its defaults.

int stp_print (stp_const_vars_t v, stp_image_t *image)
 Print the image.

int stp_start_job (stp_const_vars_t v, stp_image_t *image)
 Start a print job.

int stp_end_job (stp_const_vars_t v, stp_image_t *image)
 End a print job.


Detailed Description

Printer functions.


Generated on Sat Apr 17 15:42:12 2004 for libgimpprint API Reference by doxygen1.2.17