#, fuzzy msgid "" msgstr "" "Project-Id-Version: cups 1.4b2\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-01-10 21:21-0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Translate Toolkit 1.2.1\n" #: ./api-cups.html:1 msgid "CUPS API" msgstr "" #: ./api-cups.html:2 msgid "Programming" msgstr "" #: ./api-cups.html:3 msgid "Mini-XML v2.6" msgstr "" #: ./api-cups.html:4 msgid "General Information" msgstr "" #: ./api-cups.html:5 msgid "Header" msgstr "" #: ./api-cups.html:6 msgid "cups/cups.h" msgstr "" #: ./api-cups.html:7 msgid "Library" msgstr "" #: ./api-cups.html:8 msgid "-lcups" msgstr "" #: ./api-cups.html:9 msgid "See Also" msgstr "" #: ./api-cups.html:10 msgid "" "Programming: Introduction to CUPS " "Programming
\tProgramming: Array API
\tProgramming: File and Directory APIs
\tProgramming: Filter and Backend Programming
\t" "Programming: HTTP and IPP " "APIs
\tProgramming: PPD " "API
\tProgramming: Raster " "API" msgstr "" #: ./api-cups.html:11 msgid "Contents" msgstr "" #: ./api-cups.html:12 msgctxt "./api-cups.html:12" msgid "Overview" msgstr "" #: ./api-cups.html:13 msgctxt "./api-cups.html:13" msgid "Clients and Servers" msgstr "" #: ./api-cups.html:14 msgctxt "./api-cups.html:14" msgid "Printers and Classes" msgstr "" #: ./api-cups.html:15 msgctxt "./api-cups.html:15" msgid "Options" msgstr "" #: ./api-cups.html:16 msgctxt "./api-cups.html:16" msgid "Print Jobs" msgstr "" #: ./api-cups.html:17 msgctxt "./api-cups.html:17" msgid "Error Handling" msgstr "" #: ./api-cups.html:18 msgctxt "./api-cups.html:18" msgid "Passwords and Authentication" msgstr "" #: ./api-cups.html:19 msgctxt "./api-cups.html:19" msgid "Functions" msgstr "" #: ./api-cups.html:20 msgctxt "./api-cups.html:20" msgid "cupsAddDest" msgstr "" #: ./api-cups.html:21 msgctxt "./api-cups.html:21" msgid "cupsAddOption" msgstr "" #: ./api-cups.html:22 msgid "cupsAdminCreateWindowsPPD" msgstr "" #: ./api-cups.html:23 msgid "cupsAdminExportSamba" msgstr "" #: ./api-cups.html:24 msgid "cupsAdminGetServerSettings" msgstr "" #: ./api-cups.html:25 msgid "cupsAdminSetServerSettings" msgstr "" #: ./api-cups.html:26 msgctxt "./api-cups.html:26" msgid "cupsCancelJob" msgstr "" #: ./api-cups.html:27 msgid "cupsCancelJob2" msgstr "" #: ./api-cups.html:28 msgid "cupsCreateJob" msgstr "" #: ./api-cups.html:29 msgctxt "./api-cups.html:29" msgid "cupsEncryption" msgstr "" #: ./api-cups.html:30 msgid "cupsFinishDocument" msgstr "" #: ./api-cups.html:31 msgctxt "./api-cups.html:31" msgid "cupsFreeDests" msgstr "" #: ./api-cups.html:32 msgctxt "./api-cups.html:32" msgid "cupsFreeJobs" msgstr "" #: ./api-cups.html:33 msgctxt "./api-cups.html:33" msgid "cupsFreeOptions" msgstr "" #: ./api-cups.html:34 msgid "cupsGetClasses" msgstr "" #: ./api-cups.html:35 msgctxt "./api-cups.html:35" msgid "cupsGetDefault" msgstr "" #: ./api-cups.html:36 msgid "cupsGetDefault2" msgstr "" #: ./api-cups.html:37 msgctxt "./api-cups.html:37" msgid "cupsGetDest" msgstr "" #: ./api-cups.html:38 msgctxt "./api-cups.html:38" msgid "cupsGetDests" msgstr "" #: ./api-cups.html:39 msgid "cupsGetDests2" msgstr "" #: ./api-cups.html:40 msgctxt "./api-cups.html:40" msgid "cupsGetJobs" msgstr "" #: ./api-cups.html:41 msgid "cupsGetJobs2" msgstr "" #: ./api-cups.html:42 msgid "cupsGetNamedDest" msgstr "" #: ./api-cups.html:43 msgctxt "./api-cups.html:43" msgid "cupsGetOption" msgstr "" #: ./api-cups.html:44 msgctxt "./api-cups.html:44" msgid "cupsGetPPD" msgstr "" #: ./api-cups.html:45 msgid "cupsGetPPD2" msgstr "" #: ./api-cups.html:46 msgid "cupsGetPPD3" msgstr "" #: ./api-cups.html:47 msgctxt "./api-cups.html:47" msgid "cupsGetPassword" msgstr "" #: ./api-cups.html:48 msgid "cupsGetPrinters" msgstr "" #: ./api-cups.html:49 msgid "cupsGetServerPPD" msgstr "" #: ./api-cups.html:50 msgctxt "./api-cups.html:50" msgid "cupsLangDefault" msgstr "" #: ./api-cups.html:51 msgctxt "./api-cups.html:51" msgid "cupsLangEncoding" msgstr "" #: ./api-cups.html:52 msgctxt "./api-cups.html:52" msgid "cupsLangFlush" msgstr "" #: ./api-cups.html:53 msgctxt "./api-cups.html:53" msgid "cupsLangFree" msgstr "" #: ./api-cups.html:54 msgctxt "./api-cups.html:54" msgid "cupsLangGet" msgstr "" #: ./api-cups.html:55 msgctxt "./api-cups.html:55" msgid "cupsLastError" msgstr "" #: ./api-cups.html:56 msgid "cupsLastErrorString" msgstr "" #: ./api-cups.html:57 msgid "cupsNotifySubject" msgstr "" #: ./api-cups.html:58 msgid "cupsNotifyText" msgstr "" #: ./api-cups.html:59 msgctxt "./api-cups.html:59" msgid "cupsParseOptions" msgstr "" #: ./api-cups.html:60 msgctxt "./api-cups.html:60" msgid "cupsPrintFile" msgstr "" #: ./api-cups.html:61 msgid "cupsPrintFile2" msgstr "" #: ./api-cups.html:62 msgctxt "./api-cups.html:62" msgid "cupsPrintFiles" msgstr "" #: ./api-cups.html:63 msgid "cupsPrintFiles2" msgstr "" #: ./api-cups.html:64 msgid "cupsRemoveDest" msgstr "" #: ./api-cups.html:65 msgid "cupsRemoveOption" msgstr "" #: ./api-cups.html:66 msgctxt "./api-cups.html:66" msgid "cupsServer" msgstr "" #: ./api-cups.html:67 msgid "cupsSetDefaultDest" msgstr "" #: ./api-cups.html:68 msgctxt "./api-cups.html:68" msgid "cupsSetDests" msgstr "" #: ./api-cups.html:69 msgid "cupsSetDests2" msgstr "" #: ./api-cups.html:70 msgctxt "./api-cups.html:70" msgid "cupsSetEncryption" msgstr "" #: ./api-cups.html:71 msgctxt "./api-cups.html:71" msgid "cupsSetPasswordCB" msgstr "" #: ./api-cups.html:72 msgctxt "./api-cups.html:72" msgid "cupsSetServer" msgstr "" #: ./api-cups.html:73 msgctxt "./api-cups.html:73" msgid "cupsSetUser" msgstr "" #: ./api-cups.html:74 msgid "cupsStartDocument" msgstr "" #: ./api-cups.html:75 msgctxt "./api-cups.html:75" msgid "cupsTempFd" msgstr "" #: ./api-cups.html:76 msgid "cupsTempFile" msgstr "" #: ./api-cups.html:77 msgid "cupsTempFile2" msgstr "" #: ./api-cups.html:78 msgctxt "./api-cups.html:78" msgid "cupsUser" msgstr "" #: ./api-cups.html:79 msgctxt "./api-cups.html:79" msgid "Data Types" msgstr "" #: ./api-cups.html:80 msgctxt "./api-cups.html:80" msgid "cups_dest_t" msgstr "" #: ./api-cups.html:81 msgid "cups_device_cb_t" msgstr "" #: ./api-cups.html:82 msgctxt "./api-cups.html:82" msgid "cups_job_t" msgstr "" #: ./api-cups.html:83 msgctxt "./api-cups.html:83" msgid "cups_option_t" msgstr "" #: ./api-cups.html:84 msgctxt "./api-cups.html:84" msgid "cups_password_cb_t" msgstr "" #: ./api-cups.html:85 msgctxt "./api-cups.html:85" msgid "cups_ptype_t" msgstr "" #: ./api-cups.html:86 msgctxt "./api-cups.html:86" msgid "Structures" msgstr "" #: ./api-cups.html:87 msgctxt "./api-cups.html:87" msgid "cups_dest_s" msgstr "" #: ./api-cups.html:88 msgctxt "./api-cups.html:88" msgid "cups_job_s" msgstr "" #: ./api-cups.html:89 msgctxt "./api-cups.html:89" msgid "cups_option_s" msgstr "" #: ./api-cups.html:90 msgctxt "./api-cups.html:90" msgid "Constants" msgstr "" #: ./api-cups.html:91 msgctxt "./api-cups.html:91" msgid "cups_ptype_e" msgstr "" #: ./api-cups.html:92 msgctxt "./api-cups.html:92" msgid "Overview" msgstr "" #: ./api-cups.html:93 msgid "" "The CUPS API provides the convenience functions needed to support " "applications, filters, printer drivers, and backends that need to interface " "with the CUPS scheduler." msgstr "" #: ./api-cups.html:94 msgctxt "./api-cups.html:94" msgid "Clients and Servers" msgstr "" #: ./api-cups.html:95 msgid "" "CUPS is based on the Internet Printing Protocol (\"IPP\"), which allows " "clients (applications) to communicate with a server (the scheduler) to get a " "list of printers, send print jobs, and so forth. You identify which server " "you want to communicate with using a pointer to the opaque structure " "http_t. All of the examples in this document use the " "CUPS_HTTP_DEFAULT constant, referring to the default connection " "to the scheduler. The HTTP and IPP " "APIs document provides more information on server connections." msgstr "" #: ./api-cups.html:96 msgctxt "./api-cups.html:96" msgid "Printers and Classes" msgstr "" #: ./api-cups.html:97 msgid "" "Printers and classes (collections of printers) are accessed through the cups_dest_t structure which includes " "the name (name), instance (instance - a way of " "selecting certain saved options/settings), and the options and attributes " "associated with that destination (num_options and " "options). Destinations are created using the cupsGetDests function and freed using " "the cupsFreeDests function. The cupsGetDest function finds a specific " "destination for printing:" msgstr "" #: ./api-cups.html:98 msgid "" "Passing NULL to cupsGetDest for the destination name " "will return the default destination. Similarly, passing a NULL " "instance will return the default instance for that destination." msgstr "" #: ./api-cups.html:99 msgid "Table 1: Printer Attributes" msgstr "" #: ./api-cups.html:100 msgid "Table 1: Printer Attributes" msgstr "" #: ./api-cups.html:101 msgid "Attribute Name" msgstr "" #: ./api-cups.html:102 msgid "Description" msgstr "" #: ./api-cups.html:103 msgid "\"auth-info-required\"" msgstr "" #: ./api-cups.html:104 msgid "" "The type of authentication required for printing to this \tdestination: " "\"none\", \"username,password\", \"domain,username,password\", \tor \"negotiate\" " "(Kerberos)" msgstr "" #: ./api-cups.html:105 msgid "\"printer-info\"" msgstr "" #: ./api-cups.html:106 msgid "" "The human-readable description of the destination such as \"My \tLaser " "Printer\"." msgstr "" #: ./api-cups.html:107 msgid "\"printer-is-accepting-jobs\"" msgstr "" #: ./api-cups.html:108 msgid "\"1\" if the destination is accepting new jobs, \"0\" if not." msgstr "" #: ./api-cups.html:109 msgid "\"printer-is-shared\"" msgstr "" #: ./api-cups.html:110 msgid "" "\"1\" if the destination is being shared with other computers, \"0\" if \tnot." msgstr "" #: ./api-cups.html:111 msgid "\"printer-location\"" msgstr "" #: ./api-cups.html:112 msgid "The human-readable location of the destination such as \"Lab 4\"." msgstr "" #: ./api-cups.html:113 msgid "\"printer-make-and-model\"" msgstr "" #: ./api-cups.html:114 msgid "" "The human-readable make and model of the destination such as \"HP \tLaserJet " "4000 Series\"." msgstr "" #: ./api-cups.html:115 msgid "\"printer-state\"" msgstr "" #: ./api-cups.html:116 msgid "" "\"3\" if the destination is idle, \"4\" if the destination is printing \ta job, " "and \"5\" if the destination is stopped." msgstr "" #: ./api-cups.html:117 msgid "\"printer-state-change-time\"" msgstr "" #: ./api-cups.html:118 msgid "The UNIX time when the destination entered the current state." msgstr "" #: ./api-cups.html:119 msgid "\"printer-state-reasons\"" msgstr "" #: ./api-cups.html:120 msgid "" "Additional comma-delimited state keywords for the destination \tsuch as " "\"media-tray-empty-error\" and \"toner-low-warning\"." msgstr "" #: ./api-cups.html:121 msgid "\"printer-type\"" msgstr "" #: ./api-cups.html:122 msgid "" "The cups_printer_t \tvalue " "associated with the destination." msgstr "" #: ./api-cups.html:123 msgctxt "./api-cups.html:123" msgid "Options" msgstr "" #: ./api-cups.html:124 msgid "" "Options are stored in arrays of cups_option_t structures. Each option " "has a name (name) and value (value) associated " "with it. The cups_dest_t " "num_options and options members contain the " "default options for a particular destination, along with several " "informational attributes about the destination as shown in Table 1. The cupsGetOption function gets the value " "for the named option. For example, the following code lists the available " "destinations and their human-readable descriptions:" msgstr "" #: ./api-cups.html:125 msgid "" "You can create your own option arrays using the cupsAddOption function, which adds a " "single named option to an array:" msgstr "" #: ./api-cups.html:126 msgid "Use a for loop to copy the options from a destination:" msgstr "" #: ./api-cups.html:127 msgid "" "Use the cupsFreeOptions function " "to free the options array when you are done using it:" msgstr "" #: ./api-cups.html:128 msgctxt "./api-cups.html:128" msgid "Print Jobs" msgstr "" #: ./api-cups.html:129 msgid "" "Print jobs are identified by a locally-unique job ID number from 1 to " "231-1 and have options and one or more files for printing to a " "single destination. The cupsPrintFile function creates a new " "job with one file. The following code prints the CUPS test page file:" msgstr "" #: ./api-cups.html:130 msgid "" "The cupsPrintFiles function " "creates a job with multiple files. The files are provided in a char " "* array:" msgstr "" #: ./api-cups.html:131 msgid "" "Finally, the cupsCreateJob " "function creates a new job with no files in it. Files are added using the cupsStartDocument, cupsWriteRequestData, " "and cupsFinishDocument " "functions. The following example creates a job with 10 text files for " "printing:" msgstr "" #: ./api-cups.html:132 msgid "" "Once you have created a job, you can monitor its status using the cupsGetJobs function, which returns an " "array of cups_job_t structures. Each " "contains the job ID (id), destination name (dest), " "title (title), and other information associated with the job. " "The job array is freed using the cupsFreeJobs function. The following " "example monitors a specific job ID, showing the current job state once every " "5 seconds until the job is completed:" msgstr "" #: ./api-cups.html:133 msgid "" "To cancel a job, use the cupsCancelJob function with the job " "ID:" msgstr "" #: ./api-cups.html:134 msgctxt "./api-cups.html:134" msgid "Error Handling" msgstr "" #: ./api-cups.html:135 msgid "" "If any of the CUPS API printing functions returns an error, the reason for " "that error can be found by calling the cupsLastError and cupsLastErrorString functions. " "cupsLastError returns the last IPP " "error code (ipp_status_t) that was " "encountered, while cupsLastErrorString returns a " "(localized) human-readable string that can be shown to the user. For " "example, if any of the job creation functions returns a job ID of 0, you can " "use cupsLastErrorString to " "show the reason why the job could not be created:" msgstr "" #: ./api-cups.html:136 msgctxt "./api-cups.html:136" msgid "Passwords and Authentication" msgstr "" #: ./api-cups.html:137 msgid "" "CUPS supports authentication of any request, including submission of print " "jobs. The default mechanism for getting the username and password is to use " "the login user and a password from the console." msgstr "" #: ./api-cups.html:138 msgid "" "To support other types of applications, in particular Graphical User " "Interfaces (\"GUIs\"), the CUPS API provides functions to set the default " "username and to register a callback function that returns a password string." msgstr "" #: ./api-cups.html:139 msgid "" "The cupsSetPasswordCB function " "is used to set a password callback in your program. Only one function can " "be used at any time." msgstr "" #: ./api-cups.html:140 msgid "" "The cupsSetUser function sets the " "current username for authentication. This function can be called by your " "password callback function to change the current username as needed." msgstr "" #: ./api-cups.html:141 msgid "" "The following example shows a simple password callback that gets a username " "and password from the user:" msgstr "" #: ./api-cups.html:142 msgid "" "Similarly, a GUI could display the prompt string in a window with input " "fields for the username and password. The username should default to the " "string returned by the cupsUser " "function." msgstr "" #: ./api-cups.html:143 msgctxt "./api-cups.html:143" msgid "Functions" msgstr "" #: ./api-cups.html:144 msgctxt "./api-cups.html:144" msgid "cupsAddDest" msgstr "" #: ./api-cups.html:145 msgid "Add a destination to the list of destinations." msgstr "" #: ./api-cups.html:146 msgid "" "int cupsAddDest (
    const char *name,
" "    const char *instance,
" "    int num_dests,
    cups_dest_t **dests
);" msgstr "" #: ./api-cups.html:147 msgctxt "./api-cups.html:147" msgid "Parameters" msgstr "" #: ./api-cups.html:148 msgctxt "./api-cups.html:148" msgid "name" msgstr "" #: ./api-cups.html:149 msgctxt "./api-cups.html:149" msgid "Destination name" msgstr "" #: ./api-cups.html:150 msgctxt "./api-cups.html:150" msgid "instance" msgstr "" #: ./api-cups.html:151 msgid "Instance name or NULL for none/primary" msgstr "" #: ./api-cups.html:152 msgctxt "./api-cups.html:152" msgid "num_dests" msgstr "" #: ./api-cups.html:153 msgctxt "./api-cups.html:153" msgid "Number of destinations" msgstr "" #: ./api-cups.html:154 msgctxt "./api-cups.html:154" msgid "dests" msgstr "" #: ./api-cups.html:155 msgctxt "./api-cups.html:155" msgid "Destinations" msgstr "" #: ./api-cups.html:156 msgctxt "./api-cups.html:156" msgid "Return Value" msgstr "" #: ./api-cups.html:157 msgctxt "./api-cups.html:157" msgid "New number of destinations" msgstr "" #: ./api-cups.html:158 msgctxt "./api-cups.html:158" msgid "Discussion" msgstr "" #: ./api-cups.html:159 msgid "" "This function cannot be used to add a new class or printer queue, it only " "adds a new container of saved options for the named destination or " "instance.

If the named destination already exists, the destination " "list is returned unchanged. Adding a new instance of a destination creates " "a copy of that destination's options.

Use the cupsSaveDests function to save the " "updated list of destinations to the user's lpoptions file." msgstr "" #: ./api-cups.html:160 msgctxt "./api-cups.html:160" msgid "cupsAddOption" msgstr "" #: ./api-cups.html:161 msgid "Add an option to an option array." msgstr "" #: ./api-cups.html:162 msgid "" "int cupsAddOption (
    const char *name,
" "    const char *value,
    int " "num_options,
    cups_option_t **options
);" msgstr "" #: ./api-cups.html:163 msgctxt "./api-cups.html:163" msgid "Parameters" msgstr "" #: ./api-cups.html:164 msgctxt "./api-cups.html:164" msgid "name" msgstr "" #: ./api-cups.html:165 msgctxt "./api-cups.html:165" msgid "Name of option" msgstr "" #: ./api-cups.html:166 msgctxt "./api-cups.html:166" msgid "value" msgstr "" #: ./api-cups.html:167 msgctxt "./api-cups.html:167" msgid "Value of option" msgstr "" #: ./api-cups.html:168 msgctxt "./api-cups.html:168" msgid "num_options" msgstr "" #: ./api-cups.html:169 msgctxt "./api-cups.html:169" msgid "Number of options" msgstr "" #: ./api-cups.html:170 msgctxt "./api-cups.html:170" msgid "options" msgstr "" #: ./api-cups.html:171 msgctxt "./api-cups.html:171" msgid "Pointer to options" msgstr "" #: ./api-cups.html:172 msgctxt "./api-cups.html:172" msgid "Return Value" msgstr "" #: ./api-cups.html:173 msgctxt "./api-cups.html:173" msgid "Number of options" msgstr "" #: ./api-cups.html:174 msgctxt "./api-cups.html:174" msgid "Discussion" msgstr "" #: ./api-cups.html:175 msgid "" "New option arrays can be initialized simply by passing 0 for the " ""num_options" parameter." msgstr "" #: ./api-cups.html:176 msgid "" " CUPS 1.2/Mac OS X 10.5 cupsAdminCreateWindowsPPD" msgstr "" #: ./api-cups.html:177 msgid "Create the Windows PPD file for a printer." msgstr "" #: ./api-cups.html:178 msgid "" "char *cupsAdminCreateWindowsPPD (
    http_t " "*http,
    const char *dest,
" "    char *buffer,
    int " "bufsize
);" msgstr "" #: ./api-cups.html:179 msgctxt "./api-cups.html:179" msgid "Parameters" msgstr "" #: ./api-cups.html:180 msgctxt "./api-cups.html:180" msgid "http" msgstr "" #: ./api-cups.html:181 msgctxt "./api-cups.html:181" msgid "Connection to server or CUPS_HTTP_DEFAULT" msgstr "" #: ./api-cups.html:182 msgctxt "./api-cups.html:182" msgid "dest" msgstr "" #: ./api-cups.html:183 msgid "Printer or class" msgstr "" #: ./api-cups.html:184 msgctxt "./api-cups.html:184" msgid "buffer" msgstr "" #: ./api-cups.html:185 msgctxt "./api-cups.html:185" msgid "Filename buffer" msgstr "" #: ./api-cups.html:186 msgctxt "./api-cups.html:186" msgid "bufsize" msgstr "" #: ./api-cups.html:187 msgctxt "./api-cups.html:187" msgid "Size of filename buffer" msgstr "" #: ./api-cups.html:188 msgctxt "./api-cups.html:188" msgid "Return Value" msgstr "" #: ./api-cups.html:189 msgid "PPD file or NULL" msgstr "" #: ./api-cups.html:190 msgid "" " CUPS 1.2/Mac OS X 10.5 
cupsAdminExportSamba" msgstr "" #: ./api-cups.html:191 msgid "Export a printer to Samba." msgstr "" #: ./api-cups.html:192 msgid "" "int cupsAdminExportSamba (
    const char *dest,
" "    const char *ppd,
    const " "char *samba_server,
    const char *samba_user,
" "    const char *samba_password,
" "    FILE *logfile
);" msgstr "" #: ./api-cups.html:193 msgctxt "./api-cups.html:193" msgid "Parameters" msgstr "" #: ./api-cups.html:194 msgctxt "./api-cups.html:194" msgid "dest" msgstr "" #: ./api-cups.html:195 msgid "Destination to export" msgstr "" #: ./api-cups.html:196 msgid "ppd" msgstr "" #: ./api-cups.html:197 msgid "PPD file" msgstr "" #: ./api-cups.html:198 msgid "samba_server" msgstr "" #: ./api-cups.html:199 msgid "Samba server" msgstr "" #: ./api-cups.html:200 msgid "samba_user" msgstr "" #: ./api-cups.html:201 msgid "Samba username" msgstr "" #: ./api-cups.html:202 msgid "samba_password" msgstr "" #: ./api-cups.html:203 msgid "Samba password" msgstr "" #: ./api-cups.html:204 msgid "logfile" msgstr "" #: ./api-cups.html:205 msgid "Log file, if any" msgstr "" #: ./api-cups.html:206 msgctxt "./api-cups.html:206" msgid "Return Value" msgstr "" #: ./api-cups.html:207 msgctxt "./api-cups.html:207" msgid "1 on success, 0 on failure" msgstr "" #: ./api-cups.html:208 msgid "" " CUPS 1.3/Mac OS X 10.5 
cupsAdminGetServerSettings" msgstr "" #: ./api-cups.html:209 msgid "Get settings from the server." msgstr "" #: ./api-cups.html:210 msgid "" "int cupsAdminGetServerSettings (
    http_t " "*http,
    int *num_settings,
" "    
cups_option_t " "**settings
);" msgstr "" #: ./api-cups.html:211 msgctxt "./api-cups.html:211" msgid "Parameters" msgstr "" #: ./api-cups.html:212 msgctxt "./api-cups.html:212" msgid "http" msgstr "" #: ./api-cups.html:213 msgctxt "./api-cups.html:213" msgid "Connection to server or CUPS_HTTP_DEFAULT" msgstr "" #: ./api-cups.html:214 msgctxt "./api-cups.html:214" msgid "num_settings" msgstr "" #: ./api-cups.html:215 msgctxt "./api-cups.html:215" msgid "Number of settings" msgstr "" #: ./api-cups.html:216 msgctxt "./api-cups.html:216" msgid "settings" msgstr "" #: ./api-cups.html:217 msgctxt "./api-cups.html:217" msgid "Settings" msgstr "" #: ./api-cups.html:218 msgctxt "./api-cups.html:218" msgid "Return Value" msgstr "" #: ./api-cups.html:219 msgctxt "./api-cups.html:219" msgid "1 on success, 0 on failure" msgstr "" #: ./api-cups.html:220 msgctxt "./api-cups.html:220" msgid "Discussion" msgstr "" #: ./api-cups.html:221 msgid "" "The returned settings should be freed with cupsFreeOptions() when you are " "done with them." msgstr "" #: ./api-cups.html:222 msgid "" " CUPS 1.3/Mac OS X 10.5 cupsAdminSetServerSettings" msgstr "" #: ./api-cups.html:223 msgid "Set settings on the server." msgstr "" #: ./api-cups.html:224 msgid "" "int cupsAdminSetServerSettings (
    http_t " "*http,
    int num_settings,
" "    
cups_option_t " "*settings
);" msgstr "" #: ./api-cups.html:225 msgctxt "./api-cups.html:225" msgid "Parameters" msgstr "" #: ./api-cups.html:226 msgctxt "./api-cups.html:226" msgid "http" msgstr "" #: ./api-cups.html:227 msgctxt "./api-cups.html:227" msgid "Connection to server or CUPS_HTTP_DEFAULT" msgstr "" #: ./api-cups.html:228 msgctxt "./api-cups.html:228" msgid "num_settings" msgstr "" #: ./api-cups.html:229 msgctxt "./api-cups.html:229" msgid "Number of settings" msgstr "" #: ./api-cups.html:230 msgctxt "./api-cups.html:230" msgid "settings" msgstr "" #: ./api-cups.html:231 msgctxt "./api-cups.html:231" msgid "Settings" msgstr "" #: ./api-cups.html:232 msgctxt "./api-cups.html:232" msgid "Return Value" msgstr "" #: ./api-cups.html:233 msgctxt "./api-cups.html:233" msgid "1 on success, 0 on failure" msgstr "" #: ./api-cups.html:234 msgctxt "./api-cups.html:234" msgid "cupsCancelJob" msgstr "" #: ./api-cups.html:235 msgid "Cancel a print job on the default server." msgstr "" #: ./api-cups.html:236 msgid "" "int cupsCancelJob (
    const char *name,
" "    int job_id
);" msgstr "" #: ./api-cups.html:237 msgctxt "./api-cups.html:237" msgid "Parameters" msgstr "" #: ./api-cups.html:238 msgctxt "./api-cups.html:238" msgid "name" msgstr "" #: ./api-cups.html:239 msgctxt "./api-cups.html:239" msgid "Name of printer or class" msgstr "" #: ./api-cups.html:240 msgctxt "./api-cups.html:240" msgid "job_id" msgstr "" #: ./api-cups.html:241 msgctxt "./api-cups.html:241" msgid "" "Job ID, CUPS_JOBID_CURRENT for the current job, or " "CUPS_JOBID_ALL for all jobs" msgstr "" #: ./api-cups.html:242 msgctxt "./api-cups.html:242" msgid "Return Value" msgstr "" #: ./api-cups.html:243 msgctxt "./api-cups.html:243" msgid "1 on success, 0 on failure" msgstr "" #: ./api-cups.html:244 msgctxt "./api-cups.html:244" msgid "Discussion" msgstr "" #: ./api-cups.html:245 msgid "" "Pass CUPS_JOBID_ALL to cancel all jobs or " "CUPS_JOBID_CURRENT to cancel the current job on the named " "destination.

Use the cupsLastError and cupsLastErrorString functions " "to get the cause of any failure." msgstr "" #: ./api-cups.html:246 msgid " CUPS 1.4 cupsCancelJob2" msgstr "" #: ./api-cups.html:247 msgid "Cancel or purge a print job." msgstr "" #: ./api-cups.html:248 msgid "" "ipp_status_t cupsCancelJob2 (
    http_t *http,
" "    const char *name,
    int " "job_id,
    int purge
);" msgstr "" #: ./api-cups.html:249 msgctxt "./api-cups.html:249" msgid "Parameters" msgstr "" #: ./api-cups.html:250 msgctxt "./api-cups.html:250" msgid "http" msgstr "" #: ./api-cups.html:251 msgctxt "./api-cups.html:251" msgid "Connection to server or CUPS_HTTP_DEFAULT" msgstr "" #: ./api-cups.html:252 msgctxt "./api-cups.html:252" msgid "name" msgstr "" #: ./api-cups.html:253 msgctxt "./api-cups.html:253" msgid "Name of printer or class" msgstr "" #: ./api-cups.html:254 msgctxt "./api-cups.html:254" msgid "job_id" msgstr "" #: ./api-cups.html:255 msgctxt "./api-cups.html:255" msgid "" "Job ID, CUPS_JOBID_CURRENT for the current job, or " "CUPS_JOBID_ALL for all jobs" msgstr "" #: ./api-cups.html:256 msgid "purge" msgstr "" #: ./api-cups.html:257 msgid "1 to purge, 0 to cancel" msgstr "" #: ./api-cups.html:258 msgctxt "./api-cups.html:258" msgid "Return Value" msgstr "" #: ./api-cups.html:259 msgid "IPP status" msgstr "" #: ./api-cups.html:260 msgctxt "./api-cups.html:260" msgid "Discussion" msgstr "" #: ./api-cups.html:261 msgid "" "Canceled jobs remain in the job history while purged jobs are removed from " "the job history.

Pass CUPS_JOBID_ALL to cancel all " "jobs or CUPS_JOBID_CURRENT to cancel the current job on the " "named destination.

Use the
cupsLastError and cupsLastErrorString functions " "to get the cause of any failure." msgstr "" #: ./api-cups.html:262 msgid " CUPS 1.4 cupsCreateJob" msgstr "" #: ./api-cups.html:263 msgid "Create an empty job for streaming." msgstr "" #: ./api-cups.html:264 msgid "" "int cupsCreateJob (
    http_t *http,
" "    const char *name,
    const " "char *title,
    int num_options,
" "    
cups_option_t " "*options
);" msgstr "" #: ./api-cups.html:265 msgctxt "./api-cups.html:265" msgid "Parameters" msgstr "" #: ./api-cups.html:266 msgctxt "./api-cups.html:266" msgid "http" msgstr "" #: ./api-cups.html:267 msgctxt "./api-cups.html:267" msgid "Connection to server or CUPS_HTTP_DEFAULT" msgstr "" #: ./api-cups.html:268 msgctxt "./api-cups.html:268" msgid "name" msgstr "" #: ./api-cups.html:269 msgctxt "./api-cups.html:269" msgid "Destination name" msgstr "" #: ./api-cups.html:270 msgctxt "./api-cups.html:270" msgid "title" msgstr "" #: ./api-cups.html:271 msgctxt "./api-cups.html:271" msgid "Title of job" msgstr "" #: ./api-cups.html:272 msgctxt "./api-cups.html:272" msgid "num_options" msgstr "" #: ./api-cups.html:273 msgctxt "./api-cups.html:273" msgid "Number of options" msgstr "" #: ./api-cups.html:274 msgctxt "./api-cups.html:274" msgid "options" msgstr "" #: ./api-cups.html:275 msgctxt "./api-cups.html:275" msgid "Options" msgstr "" #: ./api-cups.html:276 msgctxt "./api-cups.html:276" msgid "Return Value" msgstr "" #: ./api-cups.html:277 msgctxt "./api-cups.html:277" msgid "Job ID or 0 on error" msgstr "" #: ./api-cups.html:278 msgctxt "./api-cups.html:278" msgid "Discussion" msgstr "" #: ./api-cups.html:279 msgid "" "Use this function when you want to stream print data using the cupsStartDocument, cupsWriteRequestData, and cupsFinishDocument functions. " "If you have one or more files to print, use the cupsPrintFile2 or cupsPrintFiles2 function instead." msgstr "" #: ./api-cups.html:280 msgctxt "./api-cups.html:280" msgid "cupsEncryption" msgstr "" #: ./api-cups.html:281 msgid "Get the default encryption settings." msgstr "" #: ./api-cups.html:282 msgid "http_encryption_t cupsEncryption (void);" msgstr "" #: ./api-cups.html:283 msgctxt "./api-cups.html:283" msgid "Return Value" msgstr "" #: ./api-cups.html:284 msgid "Encryption settings" msgstr "" #: ./api-cups.html:285 msgctxt "./api-cups.html:285" msgid "Discussion" msgstr "" #: ./api-cups.html:286 msgid "" "The default encryption setting comes from the CUPS_ENCRYPTION environment " "variable, then the ~/.cups/client.conf file, and finally the " "/etc/cups/client.conf file. If not set, the default is " "HTTP_ENCRYPT_IF_REQUESTED." msgstr "" #: ./api-cups.html:287 msgid "" " CUPS 1.4 cupsFinishDocument" msgstr "" #: ./api-cups.html:288 msgid "Finish sending a document." msgstr "" #: ./api-cups.html:289 msgid "" "ipp_status_t cupsFinishDocument (
    http_t " "*http,
    const char *name
);" msgstr "" #: ./api-cups.html:290 msgctxt "./api-cups.html:290" msgid "Parameters" msgstr "" #: ./api-cups.html:291 msgctxt "./api-cups.html:291" msgid "http" msgstr "" #: ./api-cups.html:292 msgctxt "./api-cups.html:292" msgid "Connection to server or CUPS_HTTP_DEFAULT" msgstr "" #: ./api-cups.html:293 msgctxt "./api-cups.html:293" msgid "name" msgstr "" #: ./api-cups.html:294 msgctxt "./api-cups.html:294" msgid "Destination name" msgstr "" #: ./api-cups.html:295 msgctxt "./api-cups.html:295" msgid "Return Value" msgstr "" #: ./api-cups.html:296 msgid "Status of document submission" msgstr "" #: ./api-cups.html:297 msgctxt "./api-cups.html:297" msgid "Discussion" msgstr "" #: ./api-cups.html:298 msgid "" "The document must have been started using
cupsStartDocument." msgstr "" #: ./api-cups.html:299 msgctxt "./api-cups.html:299" msgid "cupsFreeDests" msgstr "" #: ./api-cups.html:300 msgid "Free the memory used by the list of destinations." msgstr "" #: ./api-cups.html:301 msgid "" "void cupsFreeDests (
    int num_dests,
" "    cups_dest_t *dests
);" msgstr "" #: ./api-cups.html:302 msgctxt "./api-cups.html:302" msgid "Parameters" msgstr "" #: ./api-cups.html:303 msgctxt "./api-cups.html:303" msgid "num_dests" msgstr "" #: ./api-cups.html:304 msgctxt "./api-cups.html:304" msgid "Number of destinations" msgstr "" #: ./api-cups.html:305 msgctxt "./api-cups.html:305" msgid "dests" msgstr "" #: ./api-cups.html:306 msgctxt "./api-cups.html:306" msgid "Destinations" msgstr "" #: ./api-cups.html:307 msgctxt "./api-cups.html:307" msgid "cupsFreeJobs" msgstr "" #: ./api-cups.html:308 msgid "Free memory used by job data." msgstr "" #: ./api-cups.html:309 msgid "" "void cupsFreeJobs (
    int num_jobs,
" "    cups_job_t *jobs
);" msgstr "" #: ./api-cups.html:310 msgctxt "./api-cups.html:310" msgid "Parameters" msgstr "" #: ./api-cups.html:311 msgid "num_jobs" msgstr "" #: ./api-cups.html:312 msgctxt "./api-cups.html:312" msgid "Number of jobs" msgstr "" #: ./api-cups.html:313 msgctxt "./api-cups.html:313" msgid "jobs" msgstr "" #: ./api-cups.html:314 msgid "Jobs" msgstr "" #: ./api-cups.html:315 msgctxt "./api-cups.html:315" msgid "cupsFreeOptions" msgstr "" #: ./api-cups.html:316 msgid "Free all memory used by options." msgstr "" #: ./api-cups.html:317 msgid "" "void cupsFreeOptions (
    int num_options,
" "    cups_option_t " "*options
);" msgstr "" #: ./api-cups.html:318 msgctxt "./api-cups.html:318" msgid "Parameters" msgstr "" #: ./api-cups.html:319 msgctxt "./api-cups.html:319" msgid "num_options" msgstr "" #: ./api-cups.html:320 msgctxt "./api-cups.html:320" msgid "Number of options" msgstr "" #: ./api-cups.html:321 msgctxt "./api-cups.html:321" msgid "options" msgstr "" #: ./api-cups.html:322 msgctxt "./api-cups.html:322" msgid "Pointer to options" msgstr "" #: ./api-cups.html:323 msgid " DEPRECATED cupsGetClasses" msgstr "" #: ./api-cups.html:324 msgid "Get a list of printer classes from the default server." msgstr "" #: ./api-cups.html:325 msgid "int cupsGetClasses (
    char ***classes
);" msgstr "" #: ./api-cups.html:326 msgctxt "./api-cups.html:326" msgid "Parameters" msgstr "" #: ./api-cups.html:327 msgid "classes" msgstr "" #: ./api-cups.html:328 msgid "Classes" msgstr "" #: ./api-cups.html:329 msgctxt "./api-cups.html:329" msgid "Return Value" msgstr "" #: ./api-cups.html:330 msgid "Number of classes" msgstr "" #: ./api-cups.html:331 msgctxt "./api-cups.html:331" msgid "Discussion" msgstr "" #: ./api-cups.html:332 msgctxt "./api-cups.html:332" msgid "" "This function is deprecated - use
cupsGetDests instead." msgstr "" #: ./api-cups.html:333 msgctxt "./api-cups.html:333" msgid "cupsGetDefault" msgstr "" #: ./api-cups.html:334 msgid "Get the default printer or class for the default server." msgstr "" #: ./api-cups.html:335 msgid "const char *cupsGetDefault (void);" msgstr "" #: ./api-cups.html:336 msgctxt "./api-cups.html:336" msgid "Return Value" msgstr "" #: ./api-cups.html:337 msgctxt "./api-cups.html:337" msgid "Default printer or NULL" msgstr "" #: ./api-cups.html:338 msgctxt "./api-cups.html:338" msgid "Discussion" msgstr "" #: ./api-cups.html:339 msgctxt "./api-cups.html:339" msgid "" "This function returns the default printer or class as defined by the LPDEST " "or PRINTER environment variables. If these environment variables are not " "set, the server default destination is returned. Applications should use the " "cupsGetDests and cupsGetDest functions to get the user-" "defined default printer, as this function does not support the lpoptions-" "defined default printer." msgstr "" #: ./api-cups.html:340 msgid "" " CUPS 1.1.21/Mac OS X 10.4 cupsGetDefault2" msgstr "" #: ./api-cups.html:341 msgid "Get the default printer or class for the specified server." msgstr "" #: ./api-cups.html:342 msgid "" "const char *cupsGetDefault2 (
    http_t *http
" ");" msgstr "" #: ./api-cups.html:343 msgctxt "./api-cups.html:343" msgid "Parameters" msgstr "" #: ./api-cups.html:344 msgctxt "./api-cups.html:344" msgid "http" msgstr "" #: ./api-cups.html:345 msgctxt "./api-cups.html:345" msgid "Connection to server or CUPS_HTTP_DEFAULT" msgstr "" #: ./api-cups.html:346 msgctxt "./api-cups.html:346" msgid "Return Value" msgstr "" #: ./api-cups.html:347 msgctxt "./api-cups.html:347" msgid "Default printer or NULL" msgstr "" #: ./api-cups.html:348 msgctxt "./api-cups.html:348" msgid "Discussion" msgstr "" #: ./api-cups.html:349 msgctxt "./api-cups.html:349" msgid "" "This function returns the default printer or class as defined by the LPDEST " "or PRINTER environment variables. If these environment variables are not " "set, the server default destination is returned. Applications should use the " "
cupsGetDests and cupsGetDest functions to get the user-" "defined default printer, as this function does not support the lpoptions-" "defined default printer." msgstr "" #: ./api-cups.html:350 msgctxt "./api-cups.html:350" msgid "cupsGetDest" msgstr "" #: ./api-cups.html:351 msgid "Get the named destination from the list." msgstr "" #: ./api-cups.html:352 msgid "" "cups_dest_t *cupsGetDest (
" "    const char *name,
    const " "char *instance,
    int num_dests,
" "    cups_dest_t *dests
);" msgstr "" #: ./api-cups.html:353 msgctxt "./api-cups.html:353" msgid "Parameters" msgstr "" #: ./api-cups.html:354 msgctxt "./api-cups.html:354" msgid "name" msgstr "" #: ./api-cups.html:355 msgctxt "./api-cups.html:355" msgid "Destination name or NULL for the default destination" msgstr "" #: ./api-cups.html:356 msgctxt "./api-cups.html:356" msgid "instance" msgstr "" #: ./api-cups.html:357 msgctxt "./api-cups.html:357" msgid "Instance name or NULL" msgstr "" #: ./api-cups.html:358 msgctxt "./api-cups.html:358" msgid "num_dests" msgstr "" #: ./api-cups.html:359 msgctxt "./api-cups.html:359" msgid "Number of destinations" msgstr "" #: ./api-cups.html:360 msgctxt "./api-cups.html:360" msgid "dests" msgstr "" #: ./api-cups.html:361 msgctxt "./api-cups.html:361" msgid "Destinations" msgstr "" #: ./api-cups.html:362 msgctxt "./api-cups.html:362" msgid "Return Value" msgstr "" #: ./api-cups.html:363 msgid "Destination pointer or NULL" msgstr "" #: ./api-cups.html:364 msgctxt "./api-cups.html:364" msgid "Discussion" msgstr "" #: ./api-cups.html:365 msgid "" "Use the cupsGetDests or cupsGetDests2 functions to get a list " "of supported destinations for the current user." msgstr "" #: ./api-cups.html:366 msgctxt "./api-cups.html:366" msgid "cupsGetDests" msgstr "" #: ./api-cups.html:367 msgid "Get the list of destinations from the default server." msgstr "" #: ./api-cups.html:368 msgid "" "int cupsGetDests (
    cups_dest_t **dests
);" msgstr "" #: ./api-cups.html:369 msgctxt "./api-cups.html:369" msgid "Parameters" msgstr "" #: ./api-cups.html:370 msgctxt "./api-cups.html:370" msgid "dests" msgstr "" #: ./api-cups.html:371 msgctxt "./api-cups.html:371" msgid "Destinations" msgstr "" #: ./api-cups.html:372 msgctxt "./api-cups.html:372" msgid "Return Value" msgstr "" #: ./api-cups.html:373 msgctxt "./api-cups.html:373" msgid "Number of destinations" msgstr "" #: ./api-cups.html:374 msgctxt "./api-cups.html:374" msgid "Discussion" msgstr "" #: ./api-cups.html:375 msgctxt "./api-cups.html:375" msgid "" "Starting with CUPS 1.2, the returned list of destinations include the " "printer-info, printer-is-accepting-jobs, printer-is-shared, printer-make-" "and-model, printer-state, printer-state-change-time, printer-state-reasons, " "and printer-type attributes as options. CUPS 1.4 adds the marker-change-" "time, marker-colors, marker-high-levels, marker-levels, marker-low-levels, " "marker-message, marker-names, marker-types, and printer-commands attributes " "as well.

Use the cupsFreeDests function to free the " "destination list and the cupsGetDest " "function to find a particular destination." msgstr "" #: ./api-cups.html:376 msgid "" " CUPS 1.1.21/Mac OS X 10.4 cupsGetDests2" msgstr "" #: ./api-cups.html:377 msgid "Get the list of destinations from the specified server." msgstr "" #: ./api-cups.html:378 msgid "" "int cupsGetDests2 (
    http_t *http,
" "    
cups_dest_t **dests
" ");" msgstr "" #: ./api-cups.html:379 msgctxt "./api-cups.html:379" msgid "Parameters" msgstr "" #: ./api-cups.html:380 msgctxt "./api-cups.html:380" msgid "http" msgstr "" #: ./api-cups.html:381 msgctxt "./api-cups.html:381" msgid "Connection to server or CUPS_HTTP_DEFAULT" msgstr "" #: ./api-cups.html:382 msgctxt "./api-cups.html:382" msgid "dests" msgstr "" #: ./api-cups.html:383 msgctxt "./api-cups.html:383" msgid "Destinations" msgstr "" #: ./api-cups.html:384 msgctxt "./api-cups.html:384" msgid "Return Value" msgstr "" #: ./api-cups.html:385 msgctxt "./api-cups.html:385" msgid "Number of destinations" msgstr "" #: ./api-cups.html:386 msgctxt "./api-cups.html:386" msgid "Discussion" msgstr "" #: ./api-cups.html:387 msgctxt "./api-cups.html:387" msgid "" "Starting with CUPS 1.2, the returned list of destinations include the " "printer-info, printer-is-accepting-jobs, printer-is-shared, printer-make-" "and-model, printer-state, printer-state-change-time, printer-state-reasons, " "and printer-type attributes as options. CUPS 1.4 adds the marker-change-" "time, marker-colors, marker-high-levels, marker-levels, marker-low-levels, " "marker-message, marker-names, marker-types, and printer-commands attributes " "as well.

Use the cupsFreeDests function to free the " "destination list and the cupsGetDest " "function to find a particular destination." msgstr "" #: ./api-cups.html:388 msgctxt "./api-cups.html:388" msgid "cupsGetJobs" msgstr "" #: ./api-cups.html:389 msgid "Get the jobs from the default server." msgstr "" #: ./api-cups.html:390 msgid "" "int cupsGetJobs (
    cups_job_t **jobs,
    const " "char *name,
    int myjobs,
" "    int whichjobs
);" msgstr "" #: ./api-cups.html:391 msgctxt "./api-cups.html:391" msgid "Parameters" msgstr "" #: ./api-cups.html:392 msgctxt "./api-cups.html:392" msgid "jobs" msgstr "" #: ./api-cups.html:393 msgctxt "./api-cups.html:393" msgid "Job data" msgstr "" #: ./api-cups.html:394 msgctxt "./api-cups.html:394" msgid "name" msgstr "" #: ./api-cups.html:395 msgctxt "./api-cups.html:395" msgid "" "NULL = all destinations, otherwise show jobs for named " "destination" msgstr "" #: ./api-cups.html:396 msgctxt "./api-cups.html:396" msgid "myjobs" msgstr "" #: ./api-cups.html:397 msgctxt "./api-cups.html:397" msgid "0 = all users, 1 = mine" msgstr "" #: ./api-cups.html:398 msgctxt "./api-cups.html:398" msgid "whichjobs" msgstr "" #: ./api-cups.html:399 msgctxt "./api-cups.html:399" msgid "" "CUPS_WHICHJOBS_ALL, CUPS_WHICHJOBS_ACTIVE, or " "CUPS_WHICHJOBS_COMPLETED" msgstr "" #: ./api-cups.html:400 msgctxt "./api-cups.html:400" msgid "Return Value" msgstr "" #: ./api-cups.html:401 msgctxt "./api-cups.html:401" msgid "Number of jobs" msgstr "" #: ./api-cups.html:402 msgctxt "./api-cups.html:402" msgid "Discussion" msgstr "" #: ./api-cups.html:403 msgctxt "./api-cups.html:403" msgid "" "A "whichjobs" value of CUPS_WHICHJOBS_ALL returns all " "jobs regardless of state, while CUPS_WHICHJOBS_ACTIVE returns " "jobs that are pending, processing, or held and " "CUPS_WHICHJOBS_COMPLETED returns jobs that are stopped, " "canceled, aborted, or completed." msgstr "" #: ./api-cups.html:404 msgid "" " CUPS 1.1.21/Mac OS X 10.4 cupsGetJobs2" msgstr "" #: ./api-cups.html:405 msgid "Get the jobs from the specified server." msgstr "" #: ./api-cups.html:406 msgid "" "int cupsGetJobs2 (
    http_t *http,
" "    
cups_job_t **jobs,
" "    const char *name,
    int " "myjobs,
    int whichjobs
);" msgstr "" #: ./api-cups.html:407 msgctxt "./api-cups.html:407" msgid "Parameters" msgstr "" #: ./api-cups.html:408 msgctxt "./api-cups.html:408" msgid "http" msgstr "" #: ./api-cups.html:409 msgctxt "./api-cups.html:409" msgid "Connection to server or CUPS_HTTP_DEFAULT" msgstr "" #: ./api-cups.html:410 msgctxt "./api-cups.html:410" msgid "jobs" msgstr "" #: ./api-cups.html:411 msgctxt "./api-cups.html:411" msgid "Job data" msgstr "" #: ./api-cups.html:412 msgctxt "./api-cups.html:412" msgid "name" msgstr "" #: ./api-cups.html:413 msgctxt "./api-cups.html:413" msgid "" "NULL = all destinations, otherwise show jobs for named " "destination" msgstr "" #: ./api-cups.html:414 msgctxt "./api-cups.html:414" msgid "myjobs" msgstr "" #: ./api-cups.html:415 msgctxt "./api-cups.html:415" msgid "0 = all users, 1 = mine" msgstr "" #: ./api-cups.html:416 msgctxt "./api-cups.html:416" msgid "whichjobs" msgstr "" #: ./api-cups.html:417 msgctxt "./api-cups.html:417" msgid "" "CUPS_WHICHJOBS_ALL
, CUPS_WHICHJOBS_ACTIVE, or " "CUPS_WHICHJOBS_COMPLETED" msgstr "" #: ./api-cups.html:418 msgctxt "./api-cups.html:418" msgid "Return Value" msgstr "" #: ./api-cups.html:419 msgctxt "./api-cups.html:419" msgid "Number of jobs" msgstr "" #: ./api-cups.html:420 msgctxt "./api-cups.html:420" msgid "Discussion" msgstr "" #: ./api-cups.html:421 msgctxt "./api-cups.html:421" msgid "" "A "whichjobs" value of CUPS_WHICHJOBS_ALL returns all " "jobs regardless of state, while CUPS_WHICHJOBS_ACTIVE returns " "jobs that are pending, processing, or held and " "CUPS_WHICHJOBS_COMPLETED returns jobs that are stopped, " "canceled, aborted, or completed." msgstr "" #: ./api-cups.html:422 msgid " CUPS 1.4 cupsGetNamedDest" msgstr "" #: ./api-cups.html:423 msgid "Get options for the named destination." msgstr "" #: ./api-cups.html:424 msgid "" "cups_dest_t *cupsGetNamedDest (
" "    http_t *http,
    const char " "*name,
    const char *instance
);" msgstr "" #: ./api-cups.html:425 msgctxt "./api-cups.html:425" msgid "Parameters" msgstr "" #: ./api-cups.html:426 msgctxt "./api-cups.html:426" msgid "http" msgstr "" #: ./api-cups.html:427 msgctxt "./api-cups.html:427" msgid "Connection to server or CUPS_HTTP_DEFAULT" msgstr "" #: ./api-cups.html:428 msgctxt "./api-cups.html:428" msgid "name" msgstr "" #: ./api-cups.html:429 msgctxt "./api-cups.html:429" msgid "Destination name or NULL for the default destination" msgstr "" #: ./api-cups.html:430 msgctxt "./api-cups.html:430" msgid "instance" msgstr "" #: ./api-cups.html:431 msgctxt "./api-cups.html:431" msgid "Instance name or NULL" msgstr "" #: ./api-cups.html:432 msgctxt "./api-cups.html:432" msgid "Return Value" msgstr "" #: ./api-cups.html:433 msgid "Destination or NULL" msgstr "" #: ./api-cups.html:434 msgctxt "./api-cups.html:434" msgid "Discussion" msgstr "" #: ./api-cups.html:435 msgid "" "This function is optimized for retrieving a single destination and should be " "used instead of cupsGetDests and " "cupsGetDest when you either know the " "name of the destination or want to print to the default destination. If " "NULL is returned, the destination does not exist or there is no " "default destination.

If "http" is " "CUPS_HTTP_DEFAULT, the connection to the default print server " "will be used.

If "name" is NULL, the default " "printer for the current user will be returned.

The returned " "destination must be freed using cupsFreeDests with a " ""num_dests" value of 1." msgstr "" #: ./api-cups.html:436 msgctxt "./api-cups.html:436" msgid "cupsGetOption" msgstr "" #: ./api-cups.html:437 msgid "Get an option value." msgstr "" #: ./api-cups.html:438 msgid "" "const char *cupsGetOption (
    const char " "*name,
    int num_options,
" "    cups_option_t " "*options
);" msgstr "" #: ./api-cups.html:439 msgctxt "./api-cups.html:439" msgid "Parameters" msgstr "" #: ./api-cups.html:440 msgctxt "./api-cups.html:440" msgid "name" msgstr "" #: ./api-cups.html:441 msgctxt "./api-cups.html:441" msgid "Name of option" msgstr "" #: ./api-cups.html:442 msgctxt "./api-cups.html:442" msgid "num_options" msgstr "" #: ./api-cups.html:443 msgctxt "./api-cups.html:443" msgid "Number of options" msgstr "" #: ./api-cups.html:444 msgctxt "./api-cups.html:444" msgid "options" msgstr "" #: ./api-cups.html:445 msgctxt "./api-cups.html:445" msgid "Options" msgstr "" #: ./api-cups.html:446 msgctxt "./api-cups.html:446" msgid "Return Value" msgstr "" #: ./api-cups.html:447 msgid "Option value or NULL" msgstr "" #: ./api-cups.html:448 msgctxt "./api-cups.html:448" msgid "cupsGetPPD" msgstr "" #: ./api-cups.html:449 msgid "Get the PPD file for a printer on the default server." msgstr "" #: ./api-cups.html:450 msgid "" "const char *cupsGetPPD (
    const char *name
);" msgstr "" #: ./api-cups.html:451 msgctxt "./api-cups.html:451" msgid "Parameters" msgstr "" #: ./api-cups.html:452 msgctxt "./api-cups.html:452" msgid "name" msgstr "" #: ./api-cups.html:453 msgctxt "./api-cups.html:453" msgid "Destination name" msgstr "" #: ./api-cups.html:454 msgctxt "./api-cups.html:454" msgid "Return Value" msgstr "" #: ./api-cups.html:455 msgctxt "./api-cups.html:455" msgid "Filename for PPD file" msgstr "" #: ./api-cups.html:456 msgctxt "./api-cups.html:456" msgid "Discussion" msgstr "" #: ./api-cups.html:457 msgid "" "For classes, cupsGetPPD returns the PPD file for the first " "printer in the class.

The returned filename is stored in a static " "buffer and is overwritten with each call to cupsGetPPD or cupsGetPPD2." msgstr "" #: ./api-cups.html:458 msgid "" " CUPS 1.1.21/Mac OS X 10.4 cupsGetPPD2" msgstr "" #: ./api-cups.html:459 msgid "Get the PPD file for a printer from the specified server." msgstr "" #: ./api-cups.html:460 msgid "" "const char *cupsGetPPD2 (
    http_t *http,
" "    const char *name
);" msgstr "" #: ./api-cups.html:461 msgctxt "./api-cups.html:461" msgid "Parameters" msgstr "" #: ./api-cups.html:462 msgctxt "./api-cups.html:462" msgid "http" msgstr "" #: ./api-cups.html:463 msgctxt "./api-cups.html:463" msgid "Connection to server or CUPS_HTTP_DEFAULT" msgstr "" #: ./api-cups.html:464 msgctxt "./api-cups.html:464" msgid "name" msgstr "" #: ./api-cups.html:465 msgctxt "./api-cups.html:465" msgid "Destination name" msgstr "" #: ./api-cups.html:466 msgctxt "./api-cups.html:466" msgid "Return Value" msgstr "" #: ./api-cups.html:467 msgctxt "./api-cups.html:467" msgid "Filename for PPD file" msgstr "" #: ./api-cups.html:468 msgctxt "./api-cups.html:468" msgid "Discussion" msgstr "" #: ./api-cups.html:469 msgid "" "For classes, cupsGetPPD2 returns the PPD file for the first " "printer in the class.

The returned filename is stored in a static " "buffer and is overwritten with each call to
cupsGetPPD or cupsGetPPD2." msgstr "" #: ./api-cups.html:470 msgid " CUPS 1.4 cupsGetPPD3" msgstr "" #: ./api-cups.html:471 msgid "" "Get the PPD file for a printer on the specified server if it has changed." msgstr "" #: ./api-cups.html:472 msgid "" "http_status_t cupsGetPPD3 (
    http_t *http,
" "    const char *name,
    time_t " "*modtime,
    char *buffer,
" "    size_t bufsize
);" msgstr "" #: ./api-cups.html:473 msgctxt "./api-cups.html:473" msgid "Parameters" msgstr "" #: ./api-cups.html:474 msgctxt "./api-cups.html:474" msgid "http" msgstr "" #: ./api-cups.html:475 msgid "HTTP connection or CUPS_HTTP_DEFAULT" msgstr "" #: ./api-cups.html:476 msgctxt "./api-cups.html:476" msgid "name" msgstr "" #: ./api-cups.html:477 msgctxt "./api-cups.html:477" msgid "Destination name" msgstr "" #: ./api-cups.html:478 msgid "modtime" msgstr "" #: ./api-cups.html:479 msgid "Modification time" msgstr "" #: ./api-cups.html:480 msgctxt "./api-cups.html:480" msgid "buffer" msgstr "" #: ./api-cups.html:481 msgctxt "./api-cups.html:481" msgid "Filename buffer" msgstr "" #: ./api-cups.html:482 msgctxt "./api-cups.html:482" msgid "bufsize" msgstr "" #: ./api-cups.html:483 msgctxt "./api-cups.html:483" msgid "Size of filename buffer" msgstr "" #: ./api-cups.html:484 msgctxt "./api-cups.html:484" msgid "Return Value" msgstr "" #: ./api-cups.html:485 msgid "HTTP status" msgstr "" #: ./api-cups.html:486 msgctxt "./api-cups.html:486" msgid "Discussion" msgstr "" #: ./api-cups.html:487 msgid "" "The "modtime" parameter contains the modification time of any " "locally-cached content and is updated with the time from the PPD file on the " "server.

The "buffer" parameter contains the local PPD " "filename. If it contains the empty string, a new temporary file is created, " "otherwise the existing file will be overwritten as needed.

On " "success, HTTP_OK is returned for a new PPD file and " "HTTP_NOT_MODIFIED if the existing PPD file is up-to-date. Any " "other status is an error.

For classes, cupsGetPPD3 " "returns the PPD file for the first printer in the class." msgstr "" #: ./api-cups.html:488 msgctxt "./api-cups.html:488" msgid "cupsGetPassword" msgstr "" #: ./api-cups.html:489 msgid "Get a password from the user." msgstr "" #: ./api-cups.html:490 msgid "" "const char *cupsGetPassword (
    const char " "*prompt
);" msgstr "" #: ./api-cups.html:491 msgctxt "./api-cups.html:491" msgid "Parameters" msgstr "" #: ./api-cups.html:492 msgid "prompt" msgstr "" #: ./api-cups.html:493 msgid "Prompt string" msgstr "" #: ./api-cups.html:494 msgctxt "./api-cups.html:494" msgid "Return Value" msgstr "" #: ./api-cups.html:495 msgid "Password" msgstr "" #: ./api-cups.html:496 msgctxt "./api-cups.html:496" msgid "Discussion" msgstr "" #: ./api-cups.html:497 msgid "" "Uses the current password callback function. Returns NULL if " "the user does not provide a password." msgstr "" #: ./api-cups.html:498 msgid " DEPRECATED 
cupsGetPrinters" msgstr "" #: ./api-cups.html:499 msgid "Get a list of printers from the default server." msgstr "" #: ./api-cups.html:500 msgid "" "int cupsGetPrinters (
    char ***printers
);" msgstr "" #: ./api-cups.html:501 msgctxt "./api-cups.html:501" msgid "Parameters" msgstr "" #: ./api-cups.html:502 msgid "printers" msgstr "" #: ./api-cups.html:503 msgid "Printers" msgstr "" #: ./api-cups.html:504 msgctxt "./api-cups.html:504" msgid "Return Value" msgstr "" #: ./api-cups.html:505 msgid "Number of printers" msgstr "" #: ./api-cups.html:506 msgctxt "./api-cups.html:506" msgid "Discussion" msgstr "" #: ./api-cups.html:507 msgctxt "./api-cups.html:507" msgid "" "This function is deprecated - use
cupsGetDests instead." msgstr "" #: ./api-cups.html:508 msgid "" " CUPS 1.3/Mac OS X 10.5 cupsGetServerPPD" msgstr "" #: ./api-cups.html:509 msgid "Get an available PPD file from the server." msgstr "" #: ./api-cups.html:510 msgid "" "char *cupsGetServerPPD (
    http_t *http,
" "    const char *name
);" msgstr "" #: ./api-cups.html:511 msgctxt "./api-cups.html:511" msgid "Parameters" msgstr "" #: ./api-cups.html:512 msgctxt "./api-cups.html:512" msgid "http" msgstr "" #: ./api-cups.html:513 msgctxt "./api-cups.html:513" msgid "Connection to server or CUPS_HTTP_DEFAULT" msgstr "" #: ./api-cups.html:514 msgctxt "./api-cups.html:514" msgid "name" msgstr "" #: ./api-cups.html:515 msgid "Name of PPD file ("ppd-name")" msgstr "" #: ./api-cups.html:516 msgctxt "./api-cups.html:516" msgid "Return Value" msgstr "" #: ./api-cups.html:517 msgid "Name of PPD file or NULL on error" msgstr "" #: ./api-cups.html:518 msgctxt "./api-cups.html:518" msgid "Discussion" msgstr "" #: ./api-cups.html:519 msgid "" "This function returns the named PPD file from the server. The list of " "available PPDs is provided by the IPP CUPS_GET_PPDS " "operation.

You must remove (unlink) the PPD file when you are " "finished with it. The PPD filename is stored in a static location that will " "be overwritten on the next call to
cupsGetPPD, cupsGetPPD2, or cupsGetServerPPD." msgstr "" #: ./api-cups.html:520 msgctxt "./api-cups.html:520" msgid "cupsLangDefault" msgstr "" #: ./api-cups.html:521 msgid "Return the default language." msgstr "" #: ./api-cups.html:522 msgid "cups_lang_t *cupsLangDefault (void);" msgstr "" #: ./api-cups.html:523 msgctxt "./api-cups.html:523" msgid "Return Value" msgstr "" #: ./api-cups.html:524 msgctxt "./api-cups.html:524" msgid "Language data" msgstr "" #: ./api-cups.html:525 msgctxt "./api-cups.html:525" msgid "cupsLangEncoding" msgstr "" #: ./api-cups.html:526 msgid "Return the character encoding (us-ascii, etc.) for the given language." msgstr "" #: ./api-cups.html:527 msgid "" "const char *cupsLangEncoding (
    cups_lang_t " "*lang
);" msgstr "" #: ./api-cups.html:528 msgctxt "./api-cups.html:528" msgid "Parameters" msgstr "" #: ./api-cups.html:529 msgctxt "./api-cups.html:529" msgid "lang" msgstr "" #: ./api-cups.html:530 msgctxt "./api-cups.html:530" msgid "Language data" msgstr "" #: ./api-cups.html:531 msgctxt "./api-cups.html:531" msgid "Return Value" msgstr "" #: ./api-cups.html:532 msgid "Character encoding" msgstr "" #: ./api-cups.html:533 msgctxt "./api-cups.html:533" msgid "cupsLangFlush" msgstr "" #: ./api-cups.html:534 msgid "Flush all language data out of the cache." msgstr "" #: ./api-cups.html:535 msgid "void cupsLangFlush (void);" msgstr "" #: ./api-cups.html:536 msgctxt "./api-cups.html:536" msgid "cupsLangFree" msgstr "" #: ./api-cups.html:537 msgid "Free language data." msgstr "" #: ./api-cups.html:538 msgid "" "void cupsLangFree (
    cups_lang_t *lang
);" msgstr "" #: ./api-cups.html:539 msgctxt "./api-cups.html:539" msgid "Parameters" msgstr "" #: ./api-cups.html:540 msgctxt "./api-cups.html:540" msgid "lang" msgstr "" #: ./api-cups.html:541 msgid "Language to free" msgstr "" #: ./api-cups.html:542 msgctxt "./api-cups.html:542" msgid "Discussion" msgstr "" #: ./api-cups.html:543 msgid "" "This does not actually free anything; use cupsLangFlush for that." msgstr "" #: ./api-cups.html:544 msgctxt "./api-cups.html:544" msgid "cupsLangGet" msgstr "" #: ./api-cups.html:545 msgid "Get a language." msgstr "" #: ./api-cups.html:546 msgid "" "cups_lang_t *cupsLangGet (
    const char " "*language
);" msgstr "" #: ./api-cups.html:547 msgctxt "./api-cups.html:547" msgid "Parameters" msgstr "" #: ./api-cups.html:548 msgid "language" msgstr "" #: ./api-cups.html:549 msgid "Language or locale" msgstr "" #: ./api-cups.html:550 msgctxt "./api-cups.html:550" msgid "Return Value" msgstr "" #: ./api-cups.html:551 msgctxt "./api-cups.html:551" msgid "Language data" msgstr "" #: ./api-cups.html:552 msgctxt "./api-cups.html:552" msgid "cupsLastError" msgstr "" #: ./api-cups.html:553 msgid "Return the last IPP status code." msgstr "" #: ./api-cups.html:554 msgid "ipp_status_t cupsLastError (void);" msgstr "" #: ./api-cups.html:555 msgctxt "./api-cups.html:555" msgid "Return Value" msgstr "" #: ./api-cups.html:556 msgid "IPP status code from last request" msgstr "" #: ./api-cups.html:557 msgid "" " CUPS 1.2/Mac OS X 10.5 cupsLastErrorString" msgstr "" #: ./api-cups.html:558 msgid "Return the last IPP status-message." msgstr "" #: ./api-cups.html:559 msgid "const char *cupsLastErrorString (void);" msgstr "" #: ./api-cups.html:560 msgctxt "./api-cups.html:560" msgid "Return Value" msgstr "" #: ./api-cups.html:561 msgid "status-message text from last request" msgstr "" #: ./api-cups.html:562 msgid "" " CUPS 1.2/Mac OS X 10.5 cupsNotifySubject" msgstr "" #: ./api-cups.html:563 msgid "Return the subject for the given notification message." msgstr "" #: ./api-cups.html:564 msgid "" "char *cupsNotifySubject (
    cups_lang_t *lang,
" "    ipp_t *event
);" msgstr "" #: ./api-cups.html:565 msgctxt "./api-cups.html:565" msgid "Parameters" msgstr "" #: ./api-cups.html:566 msgctxt "./api-cups.html:566" msgid "lang" msgstr "" #: ./api-cups.html:567 msgctxt "./api-cups.html:567" msgid "Language data" msgstr "" #: ./api-cups.html:568 msgctxt "./api-cups.html:568" msgid "event" msgstr "" #: ./api-cups.html:569 msgctxt "./api-cups.html:569" msgid "Event data" msgstr "" #: ./api-cups.html:570 msgctxt "./api-cups.html:570" msgid "Return Value" msgstr "" #: ./api-cups.html:571 msgid "Subject string or NULL" msgstr "" #: ./api-cups.html:572 msgctxt "./api-cups.html:572" msgid "Discussion" msgstr "" #: ./api-cups.html:573 msgctxt "./api-cups.html:573" msgid "" "The returned string must be freed by the caller using free." msgstr "" #: ./api-cups.html:574 msgid "" " CUPS 1.2/Mac OS X 10.5 
cupsNotifyText" msgstr "" #: ./api-cups.html:575 msgid "Return the text for the given notification message." msgstr "" #: ./api-cups.html:576 msgid "" "char *cupsNotifyText (
    cups_lang_t *lang,
" "    ipp_t *event
);" msgstr "" #: ./api-cups.html:577 msgctxt "./api-cups.html:577" msgid "Parameters" msgstr "" #: ./api-cups.html:578 msgctxt "./api-cups.html:578" msgid "lang" msgstr "" #: ./api-cups.html:579 msgctxt "./api-cups.html:579" msgid "Language data" msgstr "" #: ./api-cups.html:580 msgctxt "./api-cups.html:580" msgid "event" msgstr "" #: ./api-cups.html:581 msgctxt "./api-cups.html:581" msgid "Event data" msgstr "" #: ./api-cups.html:582 msgctxt "./api-cups.html:582" msgid "Return Value" msgstr "" #: ./api-cups.html:583 msgid "Message text or NULL" msgstr "" #: ./api-cups.html:584 msgctxt "./api-cups.html:584" msgid "Discussion" msgstr "" #: ./api-cups.html:585 msgctxt "./api-cups.html:585" msgid "" "The returned string must be freed by the caller using free." msgstr "" #: ./api-cups.html:586 msgctxt "./api-cups.html:586" msgid "cupsParseOptions" msgstr "" #: ./api-cups.html:587 msgid "Parse options from a command-line argument." msgstr "" #: ./api-cups.html:588 msgid "" "int cupsParseOptions (
    const char *arg,
" "    int num_options,
    
cups_option_t **options
);" msgstr "" #: ./api-cups.html:589 msgctxt "./api-cups.html:589" msgid "Parameters" msgstr "" #: ./api-cups.html:590 msgid "arg" msgstr "" #: ./api-cups.html:591 msgid "Argument to parse" msgstr "" #: ./api-cups.html:592 msgctxt "./api-cups.html:592" msgid "num_options" msgstr "" #: ./api-cups.html:593 msgctxt "./api-cups.html:593" msgid "Number of options" msgstr "" #: ./api-cups.html:594 msgctxt "./api-cups.html:594" msgid "options" msgstr "" #: ./api-cups.html:595 msgid "Options found" msgstr "" #: ./api-cups.html:596 msgctxt "./api-cups.html:596" msgid "Return Value" msgstr "" #: ./api-cups.html:597 msgid "Number of options found" msgstr "" #: ./api-cups.html:598 msgctxt "./api-cups.html:598" msgid "Discussion" msgstr "" #: ./api-cups.html:599 msgid "" "This function converts space-delimited name/value pairs according to the " "PAPI text option ABNF specification. Collection values ("name={a=... " "b=... c=...}") are stored with the curley brackets intact - use " "cupsParseOptions on the value to extract the collection " "attributes." msgstr "" #: ./api-cups.html:600 msgctxt "./api-cups.html:600" msgid "cupsPrintFile" msgstr "" #: ./api-cups.html:601 msgid "Print a file to a printer or class on the default server." msgstr "" #: ./api-cups.html:602 msgid "" "int cupsPrintFile (
    const char *name,
" "    const char *filename,
" "    const char *title,
    int " "num_options,
    cups_option_t *options
);" msgstr "" #: ./api-cups.html:603 msgctxt "./api-cups.html:603" msgid "Parameters" msgstr "" #: ./api-cups.html:604 msgctxt "./api-cups.html:604" msgid "name" msgstr "" #: ./api-cups.html:605 msgctxt "./api-cups.html:605" msgid "Destination name" msgstr "" #: ./api-cups.html:606 msgctxt "./api-cups.html:606" msgid "filename" msgstr "" #: ./api-cups.html:607 msgctxt "./api-cups.html:607" msgid "File to print" msgstr "" #: ./api-cups.html:608 msgctxt "./api-cups.html:608" msgid "title" msgstr "" #: ./api-cups.html:609 msgctxt "./api-cups.html:609" msgid "Title of job" msgstr "" #: ./api-cups.html:610 msgctxt "./api-cups.html:610" msgid "num_options" msgstr "" #: ./api-cups.html:611 msgctxt "./api-cups.html:611" msgid "Number of options" msgstr "" #: ./api-cups.html:612 msgctxt "./api-cups.html:612" msgid "options" msgstr "" #: ./api-cups.html:613 msgctxt "./api-cups.html:613" msgid "Options" msgstr "" #: ./api-cups.html:614 msgctxt "./api-cups.html:614" msgid "Return Value" msgstr "" #: ./api-cups.html:615 msgctxt "./api-cups.html:615" msgid "Job ID or 0 on error" msgstr "" #: ./api-cups.html:616 msgid "" " CUPS 1.1.21/Mac OS X 10.4 cupsPrintFile2" msgstr "" #: ./api-cups.html:617 msgid "Print a file to a printer or class on the specified server." msgstr "" #: ./api-cups.html:618 msgid "" "int cupsPrintFile2 (
    http_t *http,
" "    const char *name,
    const " "char *filename,
    const char *title,
" "    int num_options,
    
cups_option_t *options
);" msgstr "" #: ./api-cups.html:619 msgctxt "./api-cups.html:619" msgid "Parameters" msgstr "" #: ./api-cups.html:620 msgctxt "./api-cups.html:620" msgid "http" msgstr "" #: ./api-cups.html:621 msgid "Connection to server" msgstr "" #: ./api-cups.html:622 msgctxt "./api-cups.html:622" msgid "name" msgstr "" #: ./api-cups.html:623 msgctxt "./api-cups.html:623" msgid "Destination name" msgstr "" #: ./api-cups.html:624 msgctxt "./api-cups.html:624" msgid "filename" msgstr "" #: ./api-cups.html:625 msgctxt "./api-cups.html:625" msgid "File to print" msgstr "" #: ./api-cups.html:626 msgctxt "./api-cups.html:626" msgid "title" msgstr "" #: ./api-cups.html:627 msgctxt "./api-cups.html:627" msgid "Title of job" msgstr "" #: ./api-cups.html:628 msgctxt "./api-cups.html:628" msgid "num_options" msgstr "" #: ./api-cups.html:629 msgctxt "./api-cups.html:629" msgid "Number of options" msgstr "" #: ./api-cups.html:630 msgctxt "./api-cups.html:630" msgid "options" msgstr "" #: ./api-cups.html:631 msgctxt "./api-cups.html:631" msgid "Options" msgstr "" #: ./api-cups.html:632 msgctxt "./api-cups.html:632" msgid "Return Value" msgstr "" #: ./api-cups.html:633 msgctxt "./api-cups.html:633" msgid "Job ID or 0 on error" msgstr "" #: ./api-cups.html:634 msgctxt "./api-cups.html:634" msgid "cupsPrintFiles" msgstr "" #: ./api-cups.html:635 msgid "Print one or more files to a printer or class on the default server." msgstr "" #: ./api-cups.html:636 msgid "" "int cupsPrintFiles (
    const char *name,
" "    int num_files,
    const " "char **files,
    const char *title,
" "    int num_options,
    cups_option_t *options
);" msgstr "" #: ./api-cups.html:637 msgctxt "./api-cups.html:637" msgid "Parameters" msgstr "" #: ./api-cups.html:638 msgctxt "./api-cups.html:638" msgid "name" msgstr "" #: ./api-cups.html:639 msgctxt "./api-cups.html:639" msgid "Destination name" msgstr "" #: ./api-cups.html:640 msgctxt "./api-cups.html:640" msgid "num_files" msgstr "" #: ./api-cups.html:641 msgctxt "./api-cups.html:641" msgid "Number of files" msgstr "" #: ./api-cups.html:642 msgctxt "./api-cups.html:642" msgid "files" msgstr "" #: ./api-cups.html:643 msgctxt "./api-cups.html:643" msgid "File(s) to print" msgstr "" #: ./api-cups.html:644 msgctxt "./api-cups.html:644" msgid "title" msgstr "" #: ./api-cups.html:645 msgctxt "./api-cups.html:645" msgid "Title of job" msgstr "" #: ./api-cups.html:646 msgctxt "./api-cups.html:646" msgid "num_options" msgstr "" #: ./api-cups.html:647 msgctxt "./api-cups.html:647" msgid "Number of options" msgstr "" #: ./api-cups.html:648 msgctxt "./api-cups.html:648" msgid "options" msgstr "" #: ./api-cups.html:649 msgctxt "./api-cups.html:649" msgid "Options" msgstr "" #: ./api-cups.html:650 msgctxt "./api-cups.html:650" msgid "Return Value" msgstr "" #: ./api-cups.html:651 msgctxt "./api-cups.html:651" msgid "Job ID or 0 on error" msgstr "" #: ./api-cups.html:652 msgid "" " CUPS 1.1.21/Mac OS X 10.4 cupsPrintFiles2" msgstr "" #: ./api-cups.html:653 msgid "Print one or more files to a printer or class on the specified server." msgstr "" #: ./api-cups.html:654 msgid "" "int cupsPrintFiles2 (
    http_t *http,
" "    const char *name,
    int " "num_files,
    const char **files,
" "    const char *title,
    int " "num_options,
    
cups_option_t *options
);" msgstr "" #: ./api-cups.html:655 msgctxt "./api-cups.html:655" msgid "Parameters" msgstr "" #: ./api-cups.html:656 msgctxt "./api-cups.html:656" msgid "http" msgstr "" #: ./api-cups.html:657 msgctxt "./api-cups.html:657" msgid "Connection to server or CUPS_HTTP_DEFAULT" msgstr "" #: ./api-cups.html:658 msgctxt "./api-cups.html:658" msgid "name" msgstr "" #: ./api-cups.html:659 msgctxt "./api-cups.html:659" msgid "Destination name" msgstr "" #: ./api-cups.html:660 msgctxt "./api-cups.html:660" msgid "num_files" msgstr "" #: ./api-cups.html:661 msgctxt "./api-cups.html:661" msgid "Number of files" msgstr "" #: ./api-cups.html:662 msgctxt "./api-cups.html:662" msgid "files" msgstr "" #: ./api-cups.html:663 msgctxt "./api-cups.html:663" msgid "File(s) to print" msgstr "" #: ./api-cups.html:664 msgctxt "./api-cups.html:664" msgid "title" msgstr "" #: ./api-cups.html:665 msgctxt "./api-cups.html:665" msgid "Title of job" msgstr "" #: ./api-cups.html:666 msgctxt "./api-cups.html:666" msgid "num_options" msgstr "" #: ./api-cups.html:667 msgctxt "./api-cups.html:667" msgid "Number of options" msgstr "" #: ./api-cups.html:668 msgctxt "./api-cups.html:668" msgid "options" msgstr "" #: ./api-cups.html:669 msgctxt "./api-cups.html:669" msgid "Options" msgstr "" #: ./api-cups.html:670 msgctxt "./api-cups.html:670" msgid "Return Value" msgstr "" #: ./api-cups.html:671 msgctxt "./api-cups.html:671" msgid "Job ID or 0 on error" msgstr "" #: ./api-cups.html:672 msgid "" " CUPS 1.3/Mac OS X 10.5 cupsRemoveDest" msgstr "" #: ./api-cups.html:673 msgid "Remove a destination from the destination list." msgstr "" #: ./api-cups.html:674 msgid "" "int cupsRemoveDest (
    const char *name,
" "    const char *instance,
" "    int num_dests,
    
cups_dest_t **dests
);" msgstr "" #: ./api-cups.html:675 msgctxt "./api-cups.html:675" msgid "Parameters" msgstr "" #: ./api-cups.html:676 msgctxt "./api-cups.html:676" msgid "name" msgstr "" #: ./api-cups.html:677 msgctxt "./api-cups.html:677" msgid "Destination name" msgstr "" #: ./api-cups.html:678 msgctxt "./api-cups.html:678" msgid "instance" msgstr "" #: ./api-cups.html:679 msgctxt "./api-cups.html:679" msgid "Instance name or NULL" msgstr "" #: ./api-cups.html:680 msgctxt "./api-cups.html:680" msgid "num_dests" msgstr "" #: ./api-cups.html:681 msgctxt "./api-cups.html:681" msgid "Number of destinations" msgstr "" #: ./api-cups.html:682 msgctxt "./api-cups.html:682" msgid "dests" msgstr "" #: ./api-cups.html:683 msgctxt "./api-cups.html:683" msgid "Destinations" msgstr "" #: ./api-cups.html:684 msgctxt "./api-cups.html:684" msgid "Return Value" msgstr "" #: ./api-cups.html:685 msgctxt "./api-cups.html:685" msgid "New number of destinations" msgstr "" #: ./api-cups.html:686 msgctxt "./api-cups.html:686" msgid "Discussion" msgstr "" #: ./api-cups.html:687 msgid "" "Removing a destination/instance does not delete the class or printer queue, " "merely the lpoptions for that destination/instance. Use the cupsSetDests or cupsSetDests2 functions to save the " "new options for the user." msgstr "" #: ./api-cups.html:688 msgid "" " CUPS 1.2/Mac OS X 10.5 cupsRemoveOption" msgstr "" #: ./api-cups.html:689 msgid "Remove an option from an option array." msgstr "" #: ./api-cups.html:690 msgid "" "int cupsRemoveOption (
    const char *name,
" "    int num_options,
    
cups_option_t **options
);" msgstr "" #: ./api-cups.html:691 msgctxt "./api-cups.html:691" msgid "Parameters" msgstr "" #: ./api-cups.html:692 msgctxt "./api-cups.html:692" msgid "name" msgstr "" #: ./api-cups.html:693 msgid "Option name" msgstr "" #: ./api-cups.html:694 msgctxt "./api-cups.html:694" msgid "num_options" msgstr "" #: ./api-cups.html:695 msgid "Current number of options" msgstr "" #: ./api-cups.html:696 msgctxt "./api-cups.html:696" msgid "options" msgstr "" #: ./api-cups.html:697 msgctxt "./api-cups.html:697" msgid "Options" msgstr "" #: ./api-cups.html:698 msgctxt "./api-cups.html:698" msgid "Return Value" msgstr "" #: ./api-cups.html:699 msgid "New number of options" msgstr "" #: ./api-cups.html:700 msgctxt "./api-cups.html:700" msgid "cupsServer" msgstr "" #: ./api-cups.html:701 msgid "Return the hostname/address of the default server." msgstr "" #: ./api-cups.html:702 msgid "const char *cupsServer (void);" msgstr "" #: ./api-cups.html:703 msgctxt "./api-cups.html:703" msgid "Return Value" msgstr "" #: ./api-cups.html:704 msgctxt "./api-cups.html:704" msgid "Server name" msgstr "" #: ./api-cups.html:705 msgctxt "./api-cups.html:705" msgid "Discussion" msgstr "" #: ./api-cups.html:706 msgid "" "The returned value can be a fully-qualified hostname, a numeric IPv4 or IPv6 " "address, or a domain socket pathname." msgstr "" #: ./api-cups.html:707 msgid "" " CUPS 1.3/Mac OS X 10.5 cupsSetDefaultDest" msgstr "" #: ./api-cups.html:708 msgid "Set the default destination." msgstr "" #: ./api-cups.html:709 msgid "" "void cupsSetDefaultDest (
    const char *name,
" "    const char *instance,
" "    int num_dests,
    
cups_dest_t *dests
);" msgstr "" #: ./api-cups.html:710 msgctxt "./api-cups.html:710" msgid "Parameters" msgstr "" #: ./api-cups.html:711 msgctxt "./api-cups.html:711" msgid "name" msgstr "" #: ./api-cups.html:712 msgctxt "./api-cups.html:712" msgid "Destination name" msgstr "" #: ./api-cups.html:713 msgctxt "./api-cups.html:713" msgid "instance" msgstr "" #: ./api-cups.html:714 msgctxt "./api-cups.html:714" msgid "Instance name or NULL" msgstr "" #: ./api-cups.html:715 msgctxt "./api-cups.html:715" msgid "num_dests" msgstr "" #: ./api-cups.html:716 msgctxt "./api-cups.html:716" msgid "Number of destinations" msgstr "" #: ./api-cups.html:717 msgctxt "./api-cups.html:717" msgid "dests" msgstr "" #: ./api-cups.html:718 msgctxt "./api-cups.html:718" msgid "Destinations" msgstr "" #: ./api-cups.html:719 msgctxt "./api-cups.html:719" msgid "cupsSetDests" msgstr "" #: ./api-cups.html:720 msgid "Save the list of destinations for the default server." msgstr "" #: ./api-cups.html:721 msgid "" "void cupsSetDests (
    int num_dests,
" "    cups_dest_t *dests
);" msgstr "" #: ./api-cups.html:722 msgctxt "./api-cups.html:722" msgid "Parameters" msgstr "" #: ./api-cups.html:723 msgctxt "./api-cups.html:723" msgid "num_dests" msgstr "" #: ./api-cups.html:724 msgctxt "./api-cups.html:724" msgid "Number of destinations" msgstr "" #: ./api-cups.html:725 msgctxt "./api-cups.html:725" msgid "dests" msgstr "" #: ./api-cups.html:726 msgctxt "./api-cups.html:726" msgid "Destinations" msgstr "" #: ./api-cups.html:727 msgctxt "./api-cups.html:727" msgid "Discussion" msgstr "" #: ./api-cups.html:728 msgctxt "./api-cups.html:728" msgid "" "This function saves the destinations to /etc/cups/lpoptions when run as root " "and ~/.cups/lpoptions when run as a normal user." msgstr "" #: ./api-cups.html:729 msgid "" " CUPS 1.1.21/Mac OS X 10.4 cupsSetDests2" msgstr "" #: ./api-cups.html:730 msgid "Save the list of destinations for the specified server." msgstr "" #: ./api-cups.html:731 msgid "" "int cupsSetDests2 (
    http_t *http,
" "    int num_dests,
    
cups_dest_t *dests
);" msgstr "" #: ./api-cups.html:732 msgctxt "./api-cups.html:732" msgid "Parameters" msgstr "" #: ./api-cups.html:733 msgctxt "./api-cups.html:733" msgid "http" msgstr "" #: ./api-cups.html:734 msgctxt "./api-cups.html:734" msgid "Connection to server or CUPS_HTTP_DEFAULT" msgstr "" #: ./api-cups.html:735 msgctxt "./api-cups.html:735" msgid "num_dests" msgstr "" #: ./api-cups.html:736 msgctxt "./api-cups.html:736" msgid "Number of destinations" msgstr "" #: ./api-cups.html:737 msgctxt "./api-cups.html:737" msgid "dests" msgstr "" #: ./api-cups.html:738 msgctxt "./api-cups.html:738" msgid "Destinations" msgstr "" #: ./api-cups.html:739 msgctxt "./api-cups.html:739" msgid "Return Value" msgstr "" #: ./api-cups.html:740 msgid "0 on success, -1 on error" msgstr "" #: ./api-cups.html:741 msgctxt "./api-cups.html:741" msgid "Discussion" msgstr "" #: ./api-cups.html:742 msgctxt "./api-cups.html:742" msgid "" "This function saves the destinations to /etc/cups/lpoptions when run as root " "and ~/.cups/lpoptions when run as a normal user." msgstr "" #: ./api-cups.html:743 msgctxt "./api-cups.html:743" msgid "cupsSetEncryption" msgstr "" #: ./api-cups.html:744 msgid "Set the encryption preference." msgstr "" #: ./api-cups.html:745 msgid "" "void cupsSetEncryption (
    http_encryption_t e
" ");" msgstr "" #: ./api-cups.html:746 msgctxt "./api-cups.html:746" msgid "Parameters" msgstr "" #: ./api-cups.html:747 msgid "e" msgstr "" #: ./api-cups.html:748 msgid "New encryption preference" msgstr "" #: ./api-cups.html:749 msgctxt "./api-cups.html:749" msgid "cupsSetPasswordCB" msgstr "" #: ./api-cups.html:750 msgid "Set the password callback for CUPS." msgstr "" #: ./api-cups.html:751 msgid "" "void cupsSetPasswordCB (
    cups_password_cb_t cb
);" msgstr "" #: ./api-cups.html:752 msgctxt "./api-cups.html:752" msgid "Parameters" msgstr "" #: ./api-cups.html:753 msgid "cb" msgstr "" #: ./api-cups.html:754 msgid "Callback function" msgstr "" #: ./api-cups.html:755 msgctxt "./api-cups.html:755" msgid "Discussion" msgstr "" #: ./api-cups.html:756 msgid "" "Pass NULL to restore the default (console) password callback." msgstr "" #: ./api-cups.html:757 msgctxt "./api-cups.html:757" msgid "cupsSetServer" msgstr "" #: ./api-cups.html:758 msgid "Set the default server name." msgstr "" #: ./api-cups.html:759 msgid "" "void cupsSetServer (
    const char *server
);" msgstr "" #: ./api-cups.html:760 msgctxt "./api-cups.html:760" msgid "Parameters" msgstr "" #: ./api-cups.html:761 msgid "server" msgstr "" #: ./api-cups.html:762 msgctxt "./api-cups.html:762" msgid "Server name" msgstr "" #: ./api-cups.html:763 msgctxt "./api-cups.html:763" msgid "Discussion" msgstr "" #: ./api-cups.html:764 msgid "" "The "server" string can be a fully-qualified hostname, a numeric " "IPv4 or IPv6 address, or a domain socket pathname. Pass NULL to " "restore the default server name." msgstr "" #: ./api-cups.html:765 msgctxt "./api-cups.html:765" msgid "cupsSetUser" msgstr "" #: ./api-cups.html:766 msgid "Set the default user name." msgstr "" #: ./api-cups.html:767 msgid "void cupsSetUser (
    const char *user
);" msgstr "" #: ./api-cups.html:768 msgctxt "./api-cups.html:768" msgid "Parameters" msgstr "" #: ./api-cups.html:769 msgctxt "./api-cups.html:769" msgid "user" msgstr "" #: ./api-cups.html:770 msgctxt "./api-cups.html:770" msgid "User name" msgstr "" #: ./api-cups.html:771 msgctxt "./api-cups.html:771" msgid "Discussion" msgstr "" #: ./api-cups.html:772 msgid "Pass NULL to restore the default user name." msgstr "" #: ./api-cups.html:773 msgid "" " CUPS 1.4 cupsStartDocument" msgstr "" #: ./api-cups.html:774 msgid "Add a document to a job created with cupsCreateJob()." msgstr "" #: ./api-cups.html:775 msgid "" "http_status_t cupsStartDocument (
    http_t " "*http,
    const char *name,
" "    int job_id,
    const char " "*docname,
    const char *format,
" "    int last_document
);" msgstr "" #: ./api-cups.html:776 msgctxt "./api-cups.html:776" msgid "Parameters" msgstr "" #: ./api-cups.html:777 msgctxt "./api-cups.html:777" msgid "http" msgstr "" #: ./api-cups.html:778 msgctxt "./api-cups.html:778" msgid "Connection to server or CUPS_HTTP_DEFAULT" msgstr "" #: ./api-cups.html:779 msgctxt "./api-cups.html:779" msgid "name" msgstr "" #: ./api-cups.html:780 msgctxt "./api-cups.html:780" msgid "Destination name" msgstr "" #: ./api-cups.html:781 msgctxt "./api-cups.html:781" msgid "job_id" msgstr "" #: ./api-cups.html:782 msgid "Job ID from
cupsCreateJob" msgstr "" #: ./api-cups.html:783 msgid "docname" msgstr "" #: ./api-cups.html:784 msgid "Name of document" msgstr "" #: ./api-cups.html:785 msgctxt "./api-cups.html:785" msgid "format" msgstr "" #: ./api-cups.html:786 msgid "MIME type or CUPS_FORMAT_foo" msgstr "" #: ./api-cups.html:787 msgid "last_document" msgstr "" #: ./api-cups.html:788 msgid "1 for last document in job, 0 otherwise" msgstr "" #: ./api-cups.html:789 msgctxt "./api-cups.html:789" msgid "Return Value" msgstr "" #: ./api-cups.html:790 msgid "HTTP status of request" msgstr "" #: ./api-cups.html:791 msgctxt "./api-cups.html:791" msgid "Discussion" msgstr "" #: ./api-cups.html:792 msgid "" "Use cupsWriteRequestData to " "write data for the document and cupsFinishDocument to finish the " "document and get the submission status.

The MIME type constants " "CUPS_FORMAT_AUTO, CUPS_FORMAT_PDF, " "CUPS_FORMAT_POSTSCRIPT, CUPS_FORMAT_RAW, and " "CUPS_FORMAT_TEXT are provided for the "format" " "argument, although any supported MIME type string can be supplied." msgstr "" #: ./api-cups.html:793 msgctxt "./api-cups.html:793" msgid "cupsTempFd" msgstr "" #: ./api-cups.html:794 msgid "Creates a temporary file." msgstr "" #: ./api-cups.html:795 msgid "" "int cupsTempFd (
    char *filename,
" "    int len
);" msgstr "" #: ./api-cups.html:796 msgctxt "./api-cups.html:796" msgid "Parameters" msgstr "" #: ./api-cups.html:797 msgctxt "./api-cups.html:797" msgid "filename" msgstr "" #: ./api-cups.html:798 msgctxt "./api-cups.html:798" msgid "Pointer to buffer" msgstr "" #: ./api-cups.html:799 msgctxt "./api-cups.html:799" msgid "len" msgstr "" #: ./api-cups.html:800 msgctxt "./api-cups.html:800" msgid "Size of buffer" msgstr "" #: ./api-cups.html:801 msgctxt "./api-cups.html:801" msgid "Return Value" msgstr "" #: ./api-cups.html:802 msgid "New file descriptor or -1 on error" msgstr "" #: ./api-cups.html:803 msgctxt "./api-cups.html:803" msgid "Discussion" msgstr "" #: ./api-cups.html:804 msgid "" "The temporary filename is returned in the filename buffer. The temporary " "file is opened for reading and writing." msgstr "" #: ./api-cups.html:805 msgid " DEPRECATED cupsTempFile" msgstr "" #: ./api-cups.html:806 msgid "Generates a temporary filename." msgstr "" #: ./api-cups.html:807 msgid "" "char *cupsTempFile (
    char *filename,
" "    int len
);" msgstr "" #: ./api-cups.html:808 msgctxt "./api-cups.html:808" msgid "Parameters" msgstr "" #: ./api-cups.html:809 msgctxt "./api-cups.html:809" msgid "filename" msgstr "" #: ./api-cups.html:810 msgctxt "./api-cups.html:810" msgid "Pointer to buffer" msgstr "" #: ./api-cups.html:811 msgctxt "./api-cups.html:811" msgid "len" msgstr "" #: ./api-cups.html:812 msgctxt "./api-cups.html:812" msgid "Size of buffer" msgstr "" #: ./api-cups.html:813 msgctxt "./api-cups.html:813" msgid "Return Value" msgstr "" #: ./api-cups.html:814 msgid "Filename or NULL on error" msgstr "" #: ./api-cups.html:815 msgctxt "./api-cups.html:815" msgid "Discussion" msgstr "" #: ./api-cups.html:816 msgid "" "The temporary filename is returned in the filename buffer. This function is " "deprecated - use
cupsTempFd or cupsTempFile2 instead." msgstr "" #: ./api-cups.html:817 msgid "" " CUPS 1.2/Mac OS X 10.5 cupsTempFile2" msgstr "" #: ./api-cups.html:818 msgid "Creates a temporary CUPS file." msgstr "" #: ./api-cups.html:819 msgid "" "cups_file_t *cupsTempFile2 (
    char *filename,
" "    int len
);" msgstr "" #: ./api-cups.html:820 msgctxt "./api-cups.html:820" msgid "Parameters" msgstr "" #: ./api-cups.html:821 msgctxt "./api-cups.html:821" msgid "filename" msgstr "" #: ./api-cups.html:822 msgctxt "./api-cups.html:822" msgid "Pointer to buffer" msgstr "" #: ./api-cups.html:823 msgctxt "./api-cups.html:823" msgid "len" msgstr "" #: ./api-cups.html:824 msgctxt "./api-cups.html:824" msgid "Size of buffer" msgstr "" #: ./api-cups.html:825 msgctxt "./api-cups.html:825" msgid "Return Value" msgstr "" #: ./api-cups.html:826 msgid "CUPS file or NULL on error" msgstr "" #: ./api-cups.html:827 msgctxt "./api-cups.html:827" msgid "Discussion" msgstr "" #: ./api-cups.html:828 msgid "" "The temporary filename is returned in the filename buffer. The temporary " "file is opened for writing." msgstr "" #: ./api-cups.html:829 msgctxt "./api-cups.html:829" msgid "cupsUser" msgstr "" #: ./api-cups.html:830 msgid "Return the current user's name." msgstr "" #: ./api-cups.html:831 msgid "const char *cupsUser (void);" msgstr "" #: ./api-cups.html:832 msgctxt "./api-cups.html:832" msgid "Return Value" msgstr "" #: ./api-cups.html:833 msgctxt "./api-cups.html:833" msgid "User name" msgstr "" #: ./api-cups.html:834 msgctxt "./api-cups.html:834" msgid "Data Types" msgstr "" #: ./api-cups.html:835 msgctxt "./api-cups.html:835" msgid "cups_dest_t" msgstr "" #: ./api-cups.html:836 msgctxt "./api-cups.html:836" msgid "Destination" msgstr "" #: ./api-cups.html:837 msgid "typedef struct
cups_dest_s cups_dest_t;" msgstr "" #: ./api-cups.html:838 msgid " CUPS 1.4 cups_device_cb_t" msgstr "" #: ./api-cups.html:839 msgid "Device callback" msgstr "" #: ./api-cups.html:840 msgid "" "typedef void (*cups_device_cb_t)(const char *device_class, const char " "*device_id, const char *device_info, const char *device_make_and_model, " "const char *device_uri, const char *device_location, void *user_data);" msgstr "" #: ./api-cups.html:841 msgctxt "./api-cups.html:841" msgid "cups_job_t" msgstr "" #: ./api-cups.html:842 msgctxt "./api-cups.html:842" msgid "Job" msgstr "" #: ./api-cups.html:843 msgid "typedef struct cups_job_s cups_job_t;" msgstr "" #: ./api-cups.html:844 msgctxt "./api-cups.html:844" msgid "cups_option_t" msgstr "" #: ./api-cups.html:845 msgctxt "./api-cups.html:845" msgid "Printer Options" msgstr "" #: ./api-cups.html:846 msgid "" "typedef struct cups_option_s cups_option_t;" msgstr "" #: ./api-cups.html:847 msgctxt "./api-cups.html:847" msgid "cups_password_cb_t" msgstr "" #: ./api-cups.html:848 msgid "Password callback" msgstr "" #: ./api-cups.html:849 msgid "typedef const char *(*cups_password_cb_t)(const char *prompt);" msgstr "" #: ./api-cups.html:850 msgctxt "./api-cups.html:850" msgid "cups_ptype_t" msgstr "" #: ./api-cups.html:851 msgid "Printer type/capability bits" msgstr "" #: ./api-cups.html:852 msgid "typedef unsigned cups_ptype_t;" msgstr "" #: ./api-cups.html:853 msgctxt "./api-cups.html:853" msgid "Structures" msgstr "" #: ./api-cups.html:854 msgctxt "./api-cups.html:854" msgid "cups_dest_s" msgstr "" #: ./api-cups.html:855 msgctxt "./api-cups.html:855" msgid "Destination" msgstr "" #: ./api-cups.html:856 msgid "" "struct cups_dest_s {
    char *name, *instance;
" "    int is_default;
    int " "num_options;
    cups_option_t *options;
};" msgstr "" #: ./api-cups.html:857 msgctxt "./api-cups.html:857" msgid "Members" msgstr "" #: ./api-cups.html:858 msgctxt "./api-cups.html:858" msgid "instance" msgstr "" #: ./api-cups.html:859 msgid "Local instance name or NULL" msgstr "" #: ./api-cups.html:860 msgid "is_default" msgstr "" #: ./api-cups.html:861 msgid "Is this printer the default?" msgstr "" #: ./api-cups.html:862 msgctxt "./api-cups.html:862" msgid "num_options" msgstr "" #: ./api-cups.html:863 msgctxt "./api-cups.html:863" msgid "Number of options" msgstr "" #: ./api-cups.html:864 msgctxt "./api-cups.html:864" msgid "options" msgstr "" #: ./api-cups.html:865 msgctxt "./api-cups.html:865" msgid "Options" msgstr "" #: ./api-cups.html:866 msgctxt "./api-cups.html:866" msgid "cups_job_s" msgstr "" #: ./api-cups.html:867 msgctxt "./api-cups.html:867" msgid "Job" msgstr "" #: ./api-cups.html:868 msgid "" "struct cups_job_s {
    time_t completed_time;
" "    time_t creation_time;
" "    char *dest;
    char " "*format;
    int id;
    int " "priority;
    time_t processing_time;
" "    int size;
    ipp_jstate_t " "state;
    char *title;
" "    char *user;
};" msgstr "" #: ./api-cups.html:869 msgctxt "./api-cups.html:869" msgid "Members" msgstr "" #: ./api-cups.html:870 msgid "completed_time" msgstr "" #: ./api-cups.html:871 msgid "Time the job was completed" msgstr "" #: ./api-cups.html:872 msgid "creation_time" msgstr "" #: ./api-cups.html:873 msgid "Time the job was created" msgstr "" #: ./api-cups.html:874 msgctxt "./api-cups.html:874" msgid "dest" msgstr "" #: ./api-cups.html:875 msgid "Printer or class name" msgstr "" #: ./api-cups.html:876 msgctxt "./api-cups.html:876" msgid "format" msgstr "" #: ./api-cups.html:877 msgid "Document format" msgstr "" #: ./api-cups.html:878 msgid "id" msgstr "" #: ./api-cups.html:879 msgid "The job ID" msgstr "" #: ./api-cups.html:880 msgid "priority" msgstr "" #: ./api-cups.html:881 msgid "Priority (1-100)" msgstr "" #: ./api-cups.html:882 msgid "processing_time" msgstr "" #: ./api-cups.html:883 msgid "Time the job was processed" msgstr "" #: ./api-cups.html:884 msgid "size" msgstr "" #: ./api-cups.html:885 msgid "Size in kilobytes" msgstr "" #: ./api-cups.html:886 msgid "state" msgstr "" #: ./api-cups.html:887 msgid "Job state" msgstr "" #: ./api-cups.html:888 msgctxt "./api-cups.html:888" msgid "title" msgstr "" #: ./api-cups.html:889 msgid "Title/job name" msgstr "" #: ./api-cups.html:890 msgctxt "./api-cups.html:890" msgid "user" msgstr "" #: ./api-cups.html:891 msgid "User the submitted the job" msgstr "" #: ./api-cups.html:892 msgctxt "./api-cups.html:892" msgid "cups_option_s" msgstr "" #: ./api-cups.html:893 msgctxt "./api-cups.html:893" msgid "Printer Options" msgstr "" #: ./api-cups.html:894 msgid "" "struct cups_option_s {
    char *name;
" "    char *value;
};" msgstr "" #: ./api-cups.html:895 msgctxt "./api-cups.html:895" msgid "Members" msgstr "" #: ./api-cups.html:896 msgctxt "./api-cups.html:896" msgid "name" msgstr "" #: ./api-cups.html:897 msgctxt "./api-cups.html:897" msgid "Name of option" msgstr "" #: ./api-cups.html:898 msgctxt "./api-cups.html:898" msgid "value" msgstr "" #: ./api-cups.html:899 msgctxt "./api-cups.html:899" msgid "Value of option" msgstr "" #: ./api-cups.html:900 msgctxt "./api-cups.html:900" msgid "Constants" msgstr "" #: ./api-cups.html:901 msgctxt "./api-cups.html:901" msgid "cups_ptype_e" msgstr "" #: ./api-cups.html:902 msgid "Printer type/capability bit constants" msgstr "" #: ./api-cups.html:903 msgctxt "./api-cups.html:903" msgid "Constants" msgstr "" #: ./api-cups.html:904 msgid "" "CUPS_PRINTER_AUTHENTICATED  CUPS 1.2/Mac OS X " "10.5 " msgstr "" #: ./api-cups.html:905 msgid "Printer requires authentication" msgstr "" #: ./api-cups.html:906 msgid "CUPS_PRINTER_BIND" msgstr "" #: ./api-cups.html:907 msgid "Can bind output" msgstr "" #: ./api-cups.html:908 msgid "CUPS_PRINTER_BW" msgstr "" #: ./api-cups.html:909 msgid "Can do B&W printing" msgstr "" #: ./api-cups.html:910 msgid "CUPS_PRINTER_CLASS" msgstr "" #: ./api-cups.html:911 msgid "Printer class" msgstr "" #: ./api-cups.html:912 msgid "CUPS_PRINTER_COLLATE" msgstr "" #: ./api-cups.html:913 msgid "Can collage copies" msgstr "" #: ./api-cups.html:914 msgid "CUPS_PRINTER_COLOR" msgstr "" #: ./api-cups.html:915 msgid "Can do color printing" msgstr "" #: ./api-cups.html:916 msgid "" "CUPS_PRINTER_COMMANDS  CUPS 1.2/Mac OS X " "10.5 " msgstr "" #: ./api-cups.html:917 msgid "Printer supports maintenance commands" msgstr "" #: ./api-cups.html:918 msgid "CUPS_PRINTER_COPIES" msgstr "" #: ./api-cups.html:919 msgid "Can do copies" msgstr "" #: ./api-cups.html:920 msgid "CUPS_PRINTER_COVER" msgstr "" #: ./api-cups.html:921 msgid "Can cover output" msgstr "" #: ./api-cups.html:922 msgid "CUPS_PRINTER_DEFAULT" msgstr "" #: ./api-cups.html:923 msgid "Default printer on network" msgstr "" #: ./api-cups.html:924 msgid "" "CUPS_PRINTER_DELETE  CUPS 1.2/Mac OS X " "10.5 " msgstr "" #: ./api-cups.html:925 msgid "Delete printer" msgstr "" #: ./api-cups.html:926 msgid "" "CUPS_PRINTER_DISCOVERED  CUPS 1.3/Mac OS X " "10.5 " msgstr "" #: ./api-cups.html:927 msgid "Printer was automatically discovered and added" msgstr "" #: ./api-cups.html:928 msgid "CUPS_PRINTER_DUPLEX" msgstr "" #: ./api-cups.html:929 msgid "Can do duplexing" msgstr "" #: ./api-cups.html:930 msgid "CUPS_PRINTER_FAX" msgstr "" #: ./api-cups.html:931 msgid "Fax queue" msgstr "" #: ./api-cups.html:932 msgid "CUPS_PRINTER_IMPLICIT" msgstr "" #: ./api-cups.html:933 msgid "Implicit class" msgstr "" #: ./api-cups.html:934 msgid "CUPS_PRINTER_LARGE" msgstr "" #: ./api-cups.html:935 msgid "Can do D/E/A1/A0" msgstr "" #: ./api-cups.html:936 msgid "CUPS_PRINTER_LOCAL" msgstr "" #: ./api-cups.html:937 msgid "Local printer or class" msgstr "" #: ./api-cups.html:938 msgid "CUPS_PRINTER_MEDIUM" msgstr "" #: ./api-cups.html:939 msgid "Can do Tabloid/B/C/A3/A2" msgstr "" #: ./api-cups.html:940 msgid "" "CUPS_PRINTER_NOT_SHARED  CUPS 1.2/Mac OS X " "10.5 " msgstr "" #: ./api-cups.html:941 msgid "Printer is not shared" msgstr "" #: ./api-cups.html:942 msgid "CUPS_PRINTER_PUNCH" msgstr "" #: ./api-cups.html:943 msgid "Can punch output" msgstr "" #: ./api-cups.html:944 msgid "CUPS_PRINTER_REJECTING" msgstr "" #: ./api-cups.html:945 msgid "Printer is rejecting jobs" msgstr "" #: ./api-cups.html:946 msgid "CUPS_PRINTER_REMOTE" msgstr "" #: ./api-cups.html:947 msgid "Remote printer or class" msgstr "" #: ./api-cups.html:948 msgid "CUPS_PRINTER_SMALL" msgstr "" #: ./api-cups.html:949 msgid "Can do Letter/Legal/A4" msgstr "" #: ./api-cups.html:950 msgid "CUPS_PRINTER_SORT" msgstr "" #: ./api-cups.html:951 msgid "Can sort output" msgstr "" #: ./api-cups.html:952 msgid "CUPS_PRINTER_STAPLE" msgstr "" #: ./api-cups.html:953 msgid "Can staple output" msgstr "" #: ./api-cups.html:954 msgid "CUPS_PRINTER_VARIABLE" msgstr "" #: ./api-cups.html:955 msgid "Can do variable sizes" msgstr ""