|  |  |  | libxfprint Reference Manual |  | 
|---|---|---|---|---|
#include <libxfprint/libxfprint.h> struct PrintingSystem; PrintingSystem* printing_system_new (const gchar *path); GList* printing_system_get_printers (PrintingSystem *ps); Printer* printing_system_get_default_printer (PrintingSystem *ps); gint printing_system_get_printer_state (PrintingSystem *ps, const gchar *printer); gint printing_system_get_jobs_count (PrintingSystem *ps, const gchar *printer); gboolean printing_system_remove_job (PrintingSystem *ps, const gchar *printer, gint id); GList* printing_system_get_jobs (PrintingSystem *ps, const gchar *printer); gboolean printing_system_print_file (PrintingSystem *ps, const gchar *printer, const gchar *original_name, const gchar *file, gboolean remove_file); void printing_system_customize_printer_list_window (PrintingSystem *ps, PrinterListWindow *win); void printing_system_customize_printer_queue_window (PrintingSystem *ps, PrinterQueueWindow *win);
GList* printing_system_get_printers (PrintingSystem *ps);
| 
 | |
| Returns : | 
Printer* printing_system_get_default_printer (PrintingSystem *ps);
| 
 | |
| Returns : | 
gint printing_system_get_printer_state (PrintingSystem *ps, const gchar *printer);
| 
 | |
| 
 | |
| Returns : | 
gint printing_system_get_jobs_count (PrintingSystem *ps, const gchar *printer);
| 
 | |
| 
 | |
| Returns : | 
gboolean printing_system_remove_job (PrintingSystem *ps, const gchar *printer, gint id);
| 
 | |
| 
 | |
| 
 | |
| Returns : | 
GList* printing_system_get_jobs (PrintingSystem *ps, const gchar *printer);
| 
 | |
| 
 | |
| Returns : | 
gboolean printing_system_print_file (PrintingSystem *ps, const gchar *printer, const gchar *original_name, const gchar *file, gboolean remove_file);
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| Returns : | 
void                printing_system_customize_printer_list_window
                                                        (PrintingSystem *ps,
                                                         PrinterListWindow *win);
| 
 | |
| 
 | 
void                printing_system_customize_printer_queue_window
                                                        (PrintingSystem *ps,
                                                         PrinterQueueWindow *win);
| 
 | |
| 
 | 
"ps-path" property"ps-path" gchar* : Read / Write / Construct Only
set the printing system path.
Default value: NULL