Module: CupsFFI
- Extended by:
- FFI::Library
- Defined in:
- lib/cupsffi/lib.rb
Defined Under Namespace
Classes: CupsDestS, CupsJobS, CupsOptionS, PPDAttrS, PPDChoiceS, PPDFileS, PPDOptionS, PPDSizeS
Constant Summary collapse
- CUPS_JOBID_ALL =
cups.h API
-1
- CUPS_WHICHJOBS_ALL =
-1
- CUPS_WHICHJOBS_ACTIVE =
0
- CUPS_WHICHJOBS_COMPLETED =
1
- CUPS_HTTP_DEFAULT =
nil
- IppJState =
enum [:pending, 3, :held, :processing, :stopped, :canceled, :aborted, :completed]
- HttpStatus =
enum [:http_error, -1, :http_continue, 100, :http_switching_protocols, :http_ok, 200, :http_created, :http_accepted, :http_not_authoritative, :http_no_content, :http_reset_content, :http_partial_content, :http_multiple_choices, 300, :http_moved_permanently, :http_moved_temporarily, :http_see_other, :http_not_modified, :http_use_proxy, :http_bad_request, 400, :http_unauthorized, :http_payment_required, :http_forbidden, :http_not_found, :http_method_not_allowed, :http_not_acceptable, :http_proxy_authentication, :http_request_timeout, :http_conflict, :http_gone, :http_length_required, :http_precondition, :http_request_too_large, :http_uri_too_long, :http_unsupported_mediatype, :http_requested_range, :http_expectation_failed, :http_upgrade_required, 426, :http_server_error, 500, :http_not_implemented, :http_bad_gateway, :http_service_unavailable, :http_gateway_timeout, :http_not_supported, :http_authorization_canceled, 1000]
- IppStatus =
enum [:ipp_ok, 0, :ipp_ok_subst, :ipp_ok_conflict, :ipp_ok_ignored_subscriptions, :ipp_ok_ignored_notifications, :ipp_ok_too_many_events, :ipp_ok_but_cancel_subscription, :ipp_ok_events_complete, :ipp_redirection_other_site, 512, :cups_see_other, 640, :ipp_bad_request, 1024, :ipp_forbidden, :ipp_not_authenticated, :ipp_not_authorized, :ipp_not_possible, :ipp_timeout, :ipp_not_found, :ipp_gone, :ipp_request_entity, :ipp_request_value, :ipp_document_format, :ipp_attributes, :ipp_uri_scheme, :ipp_charset, :ipp_conflict, :ipp_compression_not_supported, :ipp_compression_error, :ipp_document_format_error, :ipp_document_access_error, :ipp_attributes_not_settable, :ipp_ignored_all_subscriptions, :ipp_too_many_subscriptions, :ipp_ignored_all_notifications, :ipp_print_support_file_not_found, :ipp_internal_error, 1280, :ipp_operation_not_supported, :ipp_service_unavailable, :ipp_version_not_supported, :ipp_device_error, :ipp_temporary_error, :ipp_not_accepting, :ipp_printer_busy, :ipp_error_job_canceled, :ipp_multiple_jobs_not_supported, :ipp_printer_is_deactivated ]
- PPD_MAX_NAME =
ppd.h API
41
- PPD_MAX_TEXT =
81
- PPDCSE =
enum [:ppd_cs_cmyk, -4, :ppd_cs_cmy, :ppd_cs_gray, 1, :ppd_cs_rgb, 3, :ppd_cs_rgbk, :ppd_cs_n]
- PPDUIE =
enum [:boolean, :pickone, :pickmany]
- PPDSectionE =
enum [:any, :document, :exit, :jcl, :page, :prolog]