Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
cups_print.h File Reference
+ Include dependency graph for cups_print.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dt_paper_info_t
 
struct  dt_medium_info_t
 
struct  dt_page_setup_t
 
struct  dt_printer_info_t
 
struct  dt_print_info_t
 

Macros

#define MAX_NAME   128
 

Typedefs

typedef enum dt_alignment_t dt_alignment_t
 
typedef struct dt_paper_info_t dt_paper_info_t
 
typedef struct dt_medium_info_t dt_medium_info_t
 
typedef struct dt_page_setup_t dt_page_setup_t
 
typedef struct dt_printer_info_t dt_printer_info_t
 
typedef struct dt_print_info_t dt_print_info_t
 

Enumerations

enum  dt_alignment_t {
  ALIGNMENT_TOP_LEFT ,
  ALIGNMENT_TOP ,
  ALIGNMENT_TOP_RIGHT ,
  ALIGNMENT_LEFT ,
  ALIGNMENT_CENTER ,
  ALIGNMENT_RIGHT ,
  ALIGNMENT_BOTTOM_LEFT ,
  ALIGNMENT_BOTTOM ,
  ALIGNMENT_BOTTOM_RIGHT
}
 

Functions

void dt_printers_discovery (void(*cb)(dt_printer_info_t *pr, void *user_data), void *user_data)
 
void dt_printers_abort_discovery (void)
 
void dt_init_print_info (dt_print_info_t *pinfo)
 
void dt_get_printer_info (const char *printer_name, dt_printer_info_t *pinfo)
 
GList * dt_get_papers (const dt_printer_info_t *printer)
 
dt_paper_info_tdt_get_paper (GList *papers, const char *name)
 
GList * dt_get_media_type (const dt_printer_info_t *printer)
 
dt_medium_info_tdt_get_medium (GList *media, const char *name)
 
void dt_print_file (const int32_t imgid, const char *filename, const char *job_title, const dt_print_info_t *pinfo)
 
void dt_get_print_layout (const dt_print_info_t *prt, const int32_t area_width, const int32_t area_height, float *px, float *py, float *pwidth, float *pheight, float *ax, float *ay, float *awidth, float *aheight, gboolean *borderless)
 

Macro Definition Documentation

◆ MAX_NAME

#define MAX_NAME   128

Typedef Documentation

◆ dt_alignment_t

◆ dt_medium_info_t

◆ dt_page_setup_t

◆ dt_paper_info_t

◆ dt_print_info_t

◆ dt_printer_info_t

Enumeration Type Documentation

◆ dt_alignment_t

Enumerator
ALIGNMENT_TOP_LEFT 
ALIGNMENT_TOP 
ALIGNMENT_TOP_RIGHT 
ALIGNMENT_LEFT 
ALIGNMENT_CENTER 
ALIGNMENT_RIGHT 
ALIGNMENT_BOTTOM_LEFT 
ALIGNMENT_BOTTOM 
ALIGNMENT_BOTTOM_RIGHT 

Function Documentation

◆ dt_get_media_type()

GList * dt_get_media_type ( const dt_printer_info_t printer)

◆ dt_get_medium()

dt_medium_info_t * dt_get_medium ( GList *  media,
const char *  name 
)

◆ dt_get_paper()

dt_paper_info_t * dt_get_paper ( GList *  papers,
const char *  name 
)

◆ dt_get_papers()

◆ dt_get_print_layout()

void dt_get_print_layout ( const dt_print_info_t prt,
const int32_t  area_width,
const int32_t  area_height,
float *  px,
float *  py,
float *  pwidth,
float *  pheight,
float *  ax,
float *  ay,
float *  awidth,
float *  aheight,
gboolean *  borderless 
)

◆ dt_get_printer_info()

◆ dt_init_print_info()

◆ dt_print_file()

◆ dt_printers_abort_discovery()

void dt_printers_abort_discovery ( void  )

References _cancel.

Referenced by dt_cleanup().

◆ dt_printers_discovery()