Data Structures | |
struct | stp_raw_t |
Raw parameter. More... | |
struct | stp_double_bound_t |
double_bound (range) parameter. More... | |
struct | stp_int_bound_t |
int_bound (range) parameter. More... | |
struct | stp_parameter_t |
Parameter description. More... | |
Typedefs | |
typedef stp_vars | stp_vars_t |
The vars opaque data type. | |
typedef void * | stp_parameter_list_t |
The parameter_list opaque data type. | |
typedef const void * | stp_const_parameter_list_t |
The constant parameter_list opaque data type. | |
typedef void(* | stp_outfunc_t )(void *data, const char *buffer, size_t bytes) |
Output function supplied by the calling application. | |
typedef void *(* | stp_copy_data_func_t )(void *) |
typedef void(* | stp_free_data_func_t )(void *) |
typedef stp_compdata | compdata_t |
Enumerations | |
enum | stp_parameter_type_t { STP_PARAMETER_TYPE_STRING_LIST, STP_PARAMETER_TYPE_INT, STP_PARAMETER_TYPE_BOOLEAN, STP_PARAMETER_TYPE_DOUBLE, STP_PARAMETER_TYPE_CURVE, STP_PARAMETER_TYPE_FILE, STP_PARAMETER_TYPE_RAW, STP_PARAMETER_TYPE_ARRAY, STP_PARAMETER_TYPE_DIMENSION, STP_PARAMETER_TYPE_INVALID } |
Parameter types. More... | |
enum | stp_parameter_class_t { STP_PARAMETER_CLASS_FEATURE, STP_PARAMETER_CLASS_OUTPUT, STP_PARAMETER_CLASS_CORE, STP_PARAMETER_CLASS_INVALID } |
Parameter class. More... | |
enum | stp_parameter_level_t { STP_PARAMETER_LEVEL_BASIC, STP_PARAMETER_LEVEL_ADVANCED, STP_PARAMETER_LEVEL_ADVANCED1, STP_PARAMETER_LEVEL_ADVANCED2, STP_PARAMETER_LEVEL_ADVANCED3, STP_PARAMETER_LEVEL_ADVANCED4, STP_PARAMETER_LEVEL_INTERNAL, STP_PARAMETER_LEVEL_EXTERNAL, STP_PARAMETER_LEVEL_INVALID } |
Parameter level. More... | |
enum | stp_parameter_activity_t { STP_PARAMETER_INACTIVE, STP_PARAMETER_DEFAULTED, STP_PARAMETER_ACTIVE } |
Parameter activity. More... | |
enum | stp_parameter_verify_t { PARAMETER_BAD, PARAMETER_OK, PARAMETER_INACTIVE } |
Functions | |
stp_vars_t * | stp_vars_create (void) |
Create a new vars object. | |
void | stp_vars_copy (stp_vars_t *dest, const stp_vars_t *source) |
Copy a vars object. | |
stp_vars_t * | stp_vars_create_copy (const stp_vars_t *source) |
Copy and allocate a vars object. | |
void | stp_vars_destroy (stp_vars_t *v) |
Destroy a vars object. | |
void | stp_set_driver (stp_vars_t *v, const char *val) |
Set the name of the printer driver. | |
void | stp_set_driver_n (stp_vars_t *v, const char *val, int bytes) |
Set the name of the printer driver. | |
const char * | stp_get_driver (const stp_vars_t *v) |
Get the name of the printer driver. | |
void | stp_set_color_conversion (stp_vars_t *v, const char *val) |
Set the name of the color conversion routine, if not the default. | |
void | stp_set_color_conversion_n (stp_vars_t *v, const char *val, int bytes) |
Set the name of the color conversion routine, if not the default. | |
const char * | stp_get_color_conversion (const stp_vars_t *v) |
Get the name of the color conversion routine. | |
void | stp_set_left (stp_vars_t *v, int val) |
Set the left edge of the image. | |
int | stp_get_left (const stp_vars_t *v) |
Get the left edge of the image. | |
void | stp_set_top (stp_vars_t *v, int val) |
Set the top edge of the image. | |
int | stp_get_top (const stp_vars_t *v) |
Get the top edge of the image. | |
void | stp_set_width (stp_vars_t *v, int val) |
Set the width of the image. | |
int | stp_get_width (const stp_vars_t *v) |
Get the width edge of the image. | |
void | stp_set_height (stp_vars_t *v, int val) |
Set the height of the image. | |
int | stp_get_height (const stp_vars_t *v) |
Get the height of the image. | |
void | stp_set_page_width (stp_vars_t *v, int val) |
Set the page width. | |
int | stp_get_page_width (const stp_vars_t *v) |
Get the page width. | |
void | stp_set_page_height (stp_vars_t *v, int val) |
Set the page height. | |
int | stp_get_page_height (const stp_vars_t *v) |
Get the page height. | |
void | stp_set_outfunc (stp_vars_t *v, stp_outfunc_t val) |
Set the function used to print output information. | |
stp_outfunc_t | stp_get_outfunc (const stp_vars_t *v) |
Get the function used to print output information. | |
void | stp_set_errfunc (stp_vars_t *v, stp_outfunc_t val) |
Set the function used to print error and diagnostic information. | |
stp_outfunc_t | stp_get_errfunc (const stp_vars_t *v) |
Get the function used to print output information. | |
void | stp_set_outdata (stp_vars_t *v, void *val) |
Set the output data. | |
void * | stp_get_outdata (const stp_vars_t *v) |
Get the output data. | |
void | stp_set_errdata (stp_vars_t *v, void *val) |
Set the error data. | |
void * | stp_get_errdata (const stp_vars_t *v) |
Get the error data. | |
void | stp_merge_printvars (stp_vars_t *user, const stp_vars_t *print) |
Merge defaults for a printer with user-chosen settings. | |
stp_parameter_list_t | stp_get_parameter_list (const stp_vars_t *v) |
List the available parameters for the currently chosen settings. | |
size_t | stp_parameter_list_count (stp_const_parameter_list_t list) |
List the number of available parameters for the currently chosen settings. | |
const stp_parameter_t * | stp_parameter_find (stp_const_parameter_list_t list, const char *name) |
Find a parameter by its name. | |
const stp_parameter_t * | stp_parameter_list_param (stp_const_parameter_list_t list, size_t item) |
Find a parameter by its index number. | |
void | stp_parameter_list_destroy (stp_parameter_list_t list) |
Destroy a parameter_list. | |
stp_parameter_list_t | stp_parameter_list_create (void) |
Create a parameter_list. | |
void | stp_parameter_list_add_param (stp_parameter_list_t list, const stp_parameter_t *item) |
Add a parameter to a parameter_list. | |
stp_parameter_list_t | stp_parameter_list_copy (stp_const_parameter_list_t list) |
Copy and allocate a parameter_list. | |
void | stp_parameter_list_append (stp_parameter_list_t list, stp_const_parameter_list_t append) |
Append one parameter_list to another. | |
void | stp_describe_parameter (const stp_vars_t *v, const char *name, stp_parameter_t *description) |
Describe a parameter in detail. | |
void | stp_parameter_description_destroy (stp_parameter_t *description) |
Destroy a parameter description. | |
const stp_parameter_t * | stp_parameter_find_in_settings (const stp_vars_t *v, const char *name) |
Find a parameter by its name from a vars object. | |
void | stp_set_string_parameter (stp_vars_t *v, const char *parameter, const char *value) |
Set a string parameter. | |
void | stp_set_string_parameter_n (stp_vars_t *v, const char *parameter, const char *value, size_t bytes) |
Set a string parameter. | |
void | stp_set_file_parameter (stp_vars_t *v, const char *parameter, const char *value) |
Set a file parameter. | |
void | stp_set_file_parameter_n (stp_vars_t *v, const char *parameter, const char *value, size_t bytes) |
Set a file parameter. | |
void | stp_set_float_parameter (stp_vars_t *v, const char *parameter, double value) |
Set a float parameter. | |
void | stp_set_int_parameter (stp_vars_t *v, const char *parameter, int value) |
Set an integer parameter. | |
void | stp_set_dimension_parameter (stp_vars_t *v, const char *parameter, int value) |
Set a dimension parameter. | |
void | stp_set_boolean_parameter (stp_vars_t *v, const char *parameter, int value) |
Set a boolean parameter. | |
void | stp_set_curve_parameter (stp_vars_t *v, const char *parameter, const stp_curve_t *value) |
Set a curve parameter. | |
void | stp_set_array_parameter (stp_vars_t *v, const char *parameter, const stp_array_t *value) |
Set an array parameter. | |
void | stp_set_raw_parameter (stp_vars_t *v, const char *parameter, const void *value, size_t bytes) |
Set a raw parameter. | |
void | stp_scale_float_parameter (stp_vars_t *v, const char *parameter, double scale) |
Multiply the value of a float parameter by a scaling factor. | |
void | stp_set_default_string_parameter (stp_vars_t *v, const char *parameter, const char *value) |
Set a default string parameter. | |
void | stp_set_default_string_parameter_n (stp_vars_t *v, const char *parameter, const char *value, size_t bytes) |
Set a default string parameter. | |
void | stp_set_default_file_parameter (stp_vars_t *v, const char *parameter, const char *value) |
Set a default file parameter. | |
void | stp_set_default_file_parameter_n (stp_vars_t *v, const char *parameter, const char *value, size_t bytes) |
Set a default file parameter. | |
void | stp_set_default_float_parameter (stp_vars_t *v, const char *parameter, double value) |
Set a default float parameter. | |
void | stp_set_default_int_parameter (stp_vars_t *v, const char *parameter, int value) |
Set a default integer parameter. | |
void | stp_set_default_dimension_parameter (stp_vars_t *v, const char *parameter, int value) |
Set a default dimension parameter. | |
void | stp_set_default_boolean_parameter (stp_vars_t *v, const char *parameter, int value) |
Set a default boolean parameter. | |
void | stp_set_default_curve_parameter (stp_vars_t *v, const char *parameter, const stp_curve_t *value) |
Set a default curve parameter. | |
void | stp_set_default_array_parameter (stp_vars_t *v, const char *parameter, const stp_array_t *value) |
Set a default array parameter. | |
void | stp_set_default_raw_parameter (stp_vars_t *v, const char *parameter, const void *value, size_t bytes) |
Set a default raw parameter. | |
const char * | stp_get_string_parameter (const stp_vars_t *v, const char *parameter) |
Get a string parameter. | |
const char * | stp_get_file_parameter (const stp_vars_t *v, const char *parameter) |
Get a file parameter. | |
double | stp_get_float_parameter (const stp_vars_t *v, const char *parameter) |
Get a float parameter. | |
int | stp_get_int_parameter (const stp_vars_t *v, const char *parameter) |
Get an integer parameter. | |
int | stp_get_dimension_parameter (const stp_vars_t *v, const char *parameter) |
Get a dimension parameter. | |
int | stp_get_boolean_parameter (const stp_vars_t *v, const char *parameter) |
Get a boolean parameter. | |
const stp_curve_t * | stp_get_curve_parameter (const stp_vars_t *v, const char *parameter) |
Get a curve parameter. | |
const stp_array_t * | stp_get_array_parameter (const stp_vars_t *v, const char *parameter) |
Get an array parameter. | |
const stp_raw_t * | stp_get_raw_parameter (const stp_vars_t *v, const char *parameter) |
Get a raw parameter. | |
void | stp_clear_string_parameter (stp_vars_t *v, const char *parameter) |
Clear a string parameter. | |
void | stp_clear_file_parameter (stp_vars_t *v, const char *parameter) |
Clear a file parameter. | |
void | stp_clear_float_parameter (stp_vars_t *v, const char *parameter) |
Clear (remove) a float parameter. | |
void | stp_clear_int_parameter (stp_vars_t *v, const char *parameter) |
Clear (remove) an integer parameter. | |
void | stp_clear_dimension_parameter (stp_vars_t *v, const char *parameter) |
Clear (remove) a dimension parameter. | |
void | stp_clear_boolean_parameter (stp_vars_t *v, const char *parameter) |
Clear (remove) a boolean parameter. | |
void | stp_clear_curve_parameter (stp_vars_t *v, const char *parameter) |
Clear a curve parameter. | |
void | stp_clear_array_parameter (stp_vars_t *v, const char *parameter) |
Clear an array parameter. | |
void | stp_clear_raw_parameter (stp_vars_t *v, const char *parameter) |
Clear a raw parameter. | |
void | stp_set_string_parameter_active (const stp_vars_t *v, const char *parameter, stp_parameter_activity_t active) |
Set the activity of a string parameter. | |
void | stp_set_file_parameter_active (const stp_vars_t *v, const char *parameter, stp_parameter_activity_t active) |
Set the activity of a file parameter. | |
void | stp_set_float_parameter_active (const stp_vars_t *v, const char *parameter, stp_parameter_activity_t active) |
Set the activity of a float parameter. | |
void | stp_set_int_parameter_active (const stp_vars_t *v, const char *parameter, stp_parameter_activity_t active) |
Set the activity of an integer parameter. | |
void | stp_set_dimension_parameter_active (const stp_vars_t *v, const char *parameter, stp_parameter_activity_t active) |
Set the activity of a dimension parameter. | |
void | stp_set_boolean_parameter_active (const stp_vars_t *v, const char *parameter, stp_parameter_activity_t active) |
Set the activity of a boolean parameter. | |
void | stp_set_curve_parameter_active (const stp_vars_t *v, const char *parameter, stp_parameter_activity_t active) |
Set the activity of a curveparameter. | |
void | stp_set_array_parameter_active (const stp_vars_t *v, const char *parameter, stp_parameter_activity_t active) |
Set the activity of an array parameter. | |
void | stp_set_raw_parameter_active (const stp_vars_t *v, const char *parameter, stp_parameter_activity_t active) |
Set the activity of a raw parameter. | |
int | stp_check_string_parameter (const stp_vars_t *v, const char *parameter, stp_parameter_activity_t active) |
Check if a string parameter is set. | |
int | stp_check_file_parameter (const stp_vars_t *v, const char *parameter, stp_parameter_activity_t active) |
Check if a file parameter is set. | |
int | stp_check_float_parameter (const stp_vars_t *v, const char *parameter, stp_parameter_activity_t active) |
Check if a float parameter is set. | |
int | stp_check_int_parameter (const stp_vars_t *v, const char *parameter, stp_parameter_activity_t active) |
Check if an integer parameter is set. | |
int | stp_check_dimension_parameter (const stp_vars_t *v, const char *parameter, stp_parameter_activity_t active) |
Check if a dimension parameter is set. | |
int | stp_check_boolean_parameter (const stp_vars_t *v, const char *parameter, stp_parameter_activity_t active) |
Check if a boolean parameter is set. | |
int | stp_check_curve_parameter (const stp_vars_t *v, const char *parameter, stp_parameter_activity_t active) |
Check if a curve parameter is set. | |
int | stp_check_array_parameter (const stp_vars_t *v, const char *parameter, stp_parameter_activity_t active) |
Check if an array parameter is set. | |
int | stp_check_raw_parameter (const stp_vars_t *v, const char *parameter, stp_parameter_activity_t active) |
Check if a raw parameter is set. | |
stp_parameter_activity_t | stp_get_string_parameter_active (const stp_vars_t *v, const char *parameter) |
Get the activity status of a string parameter. | |
stp_parameter_activity_t | stp_get_file_parameter_active (const stp_vars_t *v, const char *parameter) |
Get the activity status of a file parameter. | |
stp_parameter_activity_t | stp_get_float_parameter_active (const stp_vars_t *v, const char *parameter) |
Get the activity status of a float parameter. | |
stp_parameter_activity_t | stp_get_int_parameter_active (const stp_vars_t *v, const char *parameter) |
Get the activity status of an integer parameter. | |
stp_parameter_activity_t | stp_get_dimension_parameter_active (const stp_vars_t *v, const char *parameter) |
Get the activity status of a dimension parameter. | |
stp_parameter_activity_t | stp_get_boolean_parameter_active (const stp_vars_t *v, const char *parameter) |
Get the activity status of a boolean parameter. | |
stp_parameter_activity_t | stp_get_curve_parameter_active (const stp_vars_t *v, const char *parameter) |
Get the activity status of a curve parameter. | |
stp_parameter_activity_t | stp_get_array_parameter_active (const stp_vars_t *v, const char *parameter) |
Get the activity status of an array parameter. | |
stp_parameter_activity_t | stp_get_raw_parameter_active (const stp_vars_t *v, const char *parameter) |
Get the activity status of a raw parameter. | |
void | stp_get_media_size (const stp_vars_t *v, int *width, int *height) |
Get the media (paper) size. | |
void | stp_get_imageable_area (const stp_vars_t *v, int *left, int *right, int *bottom, int *top) |
Get the imagable area of the page. | |
void | stp_get_maximum_imageable_area (const stp_vars_t *v, int *left, int *right, int *bottom, int *top) |
Get the maximum imagable area of the page. | |
void | stp_get_size_limit (const stp_vars_t *v, int *max_width, int *max_height, int *min_width, int *min_height) |
Get the media size limits. | |
void | stp_describe_resolution (const stp_vars_t *v, int *x, int *y) |
Retrieve the printing resolution of the selected resolution. | |
int | stp_verify (stp_vars_t *v) |
Verify parameters. | |
const stp_vars_t * | stp_default_settings (void) |
Get default global settings. | |
void | stp_allocate_component_data (stp_vars_t *v, const char *name, stp_copy_data_func_t copyfunc, stp_free_data_func_t freefunc, void *data) |
void | stp_destroy_component_data (stp_vars_t *v, const char *name) |
void * | stp_get_component_data (const stp_vars_t *v, const char *name) |
stp_parameter_verify_t | stp_verify_parameter (const stp_vars_t *v, const char *parameter, int quiet) |
int | stp_get_verified (const stp_vars_t *v) |
void | stp_set_verified (stp_vars_t *v, int value) |
void | stp_copy_options (stp_vars_t *vd, const stp_vars_t *vs) |
void | stp_fill_parameter_settings (stp_parameter_t *desc, const stp_parameter_t *param) |
Most of these job options are expressed as parameters which vary according to the model and other options selected.
The representation of printer settings has changed dramatically from 4.2. All (well most, anyway) settings outside of basics such as the printer model and sizing settings are now typed parameters.
|
|
|
The constant parameter_list opaque data type.
|
|
|
|
|
|
Output function supplied by the calling application. There are two output functions supplied by the caller, one to send output data and one to report errors.
|
|
The parameter_list opaque data type.
|
|
The vars opaque data type.
|
|
Parameter activity. Whether a parameter is currently active (i. e. whether its value should be used by the driver or not). All parameters default to being active unless explicitly "turned off". |
|
Parameter class. What kind of setting this is, for the purpose of user interface representation. |
|
|
Parameter types. The following types are permitted for a printer setting. Not all are currently implemented.
|
|
|
|
|
|
Check if an array parameter is set.
|
|
Check if a boolean parameter is set.
|
|
Check if a curve parameter is set.
|
|
Check if a dimension parameter is set.
|
|
Check if a file parameter is set.
|
|
Check if a float parameter is set.
|
|
Check if an integer parameter is set.
|
|
Check if a raw parameter is set.
|
|
Check if a string parameter is set.
|
|
Clear an array parameter. The parameter is set to NULL.
|
|
Clear (remove) a boolean parameter.
|
|
Clear a curve parameter. The parameter is set to NULL.
|
|
Clear (remove) a dimension parameter.
|
|
Clear a file parameter. The parameter is set to NULL.
|
|
Clear (remove) a float parameter.
|
|
Clear (remove) an integer parameter.
|
|
Clear a raw parameter. The parameter is set to NULL.
|
|
Clear a string parameter. The parameter is set to NULL.
|
|
|
|
Get default global settings. The main use of this is to provide a usable stp_vars_t for purposes of parameter inquiry in the absence of a specific printer. This is currently used in a variety of places to get information on the standard color parameters without querying a particular printer.
|
|
Describe a parameter in detail. All of the parameter fields will be populated.
|
|
Retrieve the printing resolution of the selected resolution. If the resolution is invalid, -1 will be returned in both x and y.
|
|
|
|
|
|
Get an array parameter.
|
|
Get the activity status of an array parameter.
|
|
Get a boolean parameter.
|
|
Get the activity status of a boolean parameter.
|
|
Get the name of the color conversion routine.
|
|
|
|
Get a curve parameter.
|
|
Get the activity status of a curve parameter.
|
|
Get a dimension parameter.
|
|
Get the activity status of a dimension parameter.
|
|
Get the name of the printer driver.
|
|
Get the error data.
|
|
Get the function used to print output information.
|
|
Get a file parameter.
|
|
Get the activity status of a file parameter.
|
|
Get a float parameter.
|
|
Get the activity status of a float parameter.
|
|
Get the height of the image.
|
|
Get the imagable area of the page. Retrieve the boundaries of the printable area of the page. In combination with the media size, this can be used to determine the actual printable region, which callers can use to place the image precisely. The dimensions are relative to the top left of the physical page. If a customizable page size is used (see stp_printer_get_media_size), the actual desired width and/or height must be filled in using stp_set_page_width and/or stp_set_page_height. If these are not filled in, the margins will be returned. Returned values may be negative if a printer is capable of full bleed by printing beyond the physical boundaries of the page. If the media size stored in V is invalid, the return values will be indeterminate. It is up to the user to specify legal values.
|
|
Get an integer parameter.
|
|
Get the activity status of an integer parameter.
|
|
Get the left edge of the image.
|
|
Get the maximum imagable area of the page. Retrieve the maximum (regardless of settings other than page sise) boundaries of the printable area of the page. In combination with the media size, this can be used to determine the actual printable region, which callers can use to place the image precisely. The dimensions are relative to the top left of the physical page. If a customizable page size is used (see stp_printer_get_media_size), the actual desired width and/or height must be filled in using stp_set_page_width and/or stp_set_page_height. If these are not filled in, the margins will be returned. Returned values may be negative if a printer is capable of full bleed by printing beyond the physical boundaries of the page. If the media size stored in V is invalid, the return values will be indeterminate. It is up to the user to specify legal values.
|
|
Get the media (paper) size. Retrieve the media size of the media type set in V, expressed in units of 1/72". If the media size is invalid, width and height will be set to -1. Values of 0 for width or height indicate that the dimension is variable, so that custom page sizes or roll paper can be used. In this case, the size limit should be used to determine maximum and minimum values permitted.
|
|
Get the output data.
|
|
Get the function used to print output information.
|
|
Get the page height.
|
|
Get the page width.
|
|
List the available parameters for the currently chosen settings. This does not fill in the bounds and defaults; it merely provides a list of settings. To fill in detailed information for a setting, use stp_describe_parameter.
|
|
Get a raw parameter.
|
|
Get the activity status of a raw parameter.
|
|
Get the media size limits. Retrieve the minimum and maximum size limits for custom media sizes with the current printer settings.
|
|
Get a string parameter.
|
|
Get the activity status of a string parameter.
|
|
Get the top edge of the image.
|
|
|
|
Get the width edge of the image.
|
|
Merge defaults for a printer with user-chosen settings.
|
|
Destroy a parameter description. This must be called even if the stp_parameter_t was not allocated with malloc, since some members are dynamically allocated.
|
|
Find a parameter by its name.
|
|
Find a parameter by its name from a vars object.
|
|
Add a parameter to a parameter_list.
|
|
Append one parameter_list to another.
|
|
Copy and allocate a parameter_list. A new parameter_list will be created, and then the contents of source will be copied into it.
|
|
List the number of available parameters for the currently chosen settings.
|
|
Create a parameter_list.
|
|
Destroy a parameter_list. It is an error to destroy the parameter_list more than once.
|
|
Find a parameter by its index number.
|
|
Multiply the value of a float parameter by a scaling factor.
|
|
Set an array parameter.
|
|
Set the activity of an array parameter.
|
|
Set a boolean parameter.
|
|
Set the activity of a boolean parameter.
|
|
Set the name of the color conversion routine, if not the default.
|
|
Set the name of the color conversion routine, if not the default.
|
|
Set a curve parameter.
|
|
Set the activity of a curveparameter.
|
|
Set a default array parameter. The value is set if the parameter is not already set. This avoids having to check if the parameter is set prior to setting it, if you do not want to override the existing value.
|
|
Set a default boolean parameter. The value is set if the parameter is not already set. This avoids having to check if the parameter is set prior to setting it, if you do not want to override the existing value.
|
|
Set a default curve parameter. The value is set if the parameter is not already set. This avoids having to check if the parameter is set prior to setting it, if you do not want to override the existing value.
|
|
Set a default dimension parameter. The value is set if the parameter is not already set. This avoids having to check if the parameter is set prior to setting it, if you do not want to override the existing value.
|
|
Set a default file parameter. The value is set if the parameter is not already set. This avoids having to check if the parameter is set prior to setting it, if you do not want to override the existing value.
|
|
Set a default file parameter. The value is set if the parameter is not already set. This avoids having to check if the parameter is set prior to setting it, if you do not want to override the existing value.
|
|
Set a default float parameter. The value is set if the parameter is not already set. This avoids having to check if the parameter is set prior to setting it, if you do not want to override the existing value.
|
|
Set a default integer parameter. The value is set if the parameter is not already set. This avoids having to check if the parameter is set prior to setting it, if you do not want to override the existing value.
|
|
Set a default raw parameter. The value is set if the parameter is not already set. This avoids having to check if the parameter is set prior to setting it, if you do not want to override the existing value.
|
|
Set a default string parameter. The value is set if the parameter is not already set. This avoids having to check if the parameter is set prior to setting it, if you do not want to override the existing value.
|
|
Set a default string parameter. The value is set if the parameter is not already set. This avoids having to check if the parameter is set prior to setting it, if you do not want to override the existing value.
|
|
Set a dimension parameter.
|
|
Set the activity of a dimension parameter.
|
|
Set the name of the printer driver.
|
|
Set the name of the printer driver.
|
|
Set the error data.
|
|
Set the function used to print error and diagnostic information. These must be supplied by the caller. errdata is passed as an arguments to errfunc; typically it will be a file descriptor.
|
|
Set a file parameter.
|
|
Set the activity of a file parameter.
|
|
Set a file parameter.
|
|
Set a float parameter.
|
|
Set the activity of a float parameter.
|
|
Set the height of the image.
|
|
Set an integer parameter.
|
|
Set the activity of an integer parameter.
|
|
Set the left edge of the image.
|
|
Set the output data.
|
|
Set the function used to print output information. These must be supplied by the caller. outdata is passed as an arguments to outfunc; typically it will be a file descriptor.
|
|
Set the page height.
|
|
Set the page width.
|
|
Set a raw parameter.
|
|
Set the activity of a raw parameter.
|
|
Set a string parameter.
|
|
Set the activity of a string parameter.
|
|
Set a string parameter.
|
|
Set the top edge of the image.
|
|
|
|
Set the width of the image.
|
|
Copy a vars object. Both dest and source must be valid vars objects previously created with stp_vars_create().
|
|
Create a new vars object.
|
|
Copy and allocate a vars object. source must be a valid vars object previously created with stp_vars_create().
|
|
Destroy a vars object. It is an error to destroy the vars more than once.
|
|
Verify parameters. Verify that the parameters selected are consistent with those allowed by the driver. This must be called prior to printing; failure to do so will result in printing failing.
|
|
|