#, 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" #: ./postscript-driver.html:1 msgid "Developing PostScript Printer Drivers" msgstr "" #: ./postscript-driver.html:2 msgid "Programming" msgstr "" #: ./postscript-driver.html:3 msgid "Mini-XML v2.6" msgstr "" #: ./postscript-driver.html:4 msgid "" "This document describes how to develop printer drivers for PostScript " "printers. Topics include: printer driver basics, creating new PPD files, importing " "existing PPD files, using custom filters, implementing color management, adding " "Mac OS X features, and deploying your driver." msgstr "" #: ./postscript-driver.html:5 msgid "General Information" msgstr "" #: ./postscript-driver.html:6 msgid "See Also" msgstr "" #: ./postscript-driver.html:7 msgid "" "Programming: Developing Raster Printer " "Drivers
\tProgramming: Filter and Backend " "Programming
\tProgramming: Introduction " "to the PPD Compiler
\tProgramming: Raster " "API
\tReferences: PPD Compiler Driver " "Information File Reference
\tSpecifications: CUPS PPD Extensions" msgstr "" #: ./postscript-driver.html:8 msgid "Contents" msgstr "" #: ./postscript-driver.html:9 msgctxt "./postscript-driver.html:9" msgid "Printer Driver Basics" msgstr "" #: ./postscript-driver.html:10 msgctxt "./postscript-driver.html:10" msgid "Creating New PPD Files" msgstr "" #: ./postscript-driver.html:11 msgctxt "./postscript-driver.html:11" msgid "Importing Existing PPD Files" msgstr "" #: ./postscript-driver.html:12 msgctxt "./postscript-driver.html:12" msgid "Using Custom Filters" msgstr "" #: ./postscript-driver.html:13 msgctxt "./postscript-driver.html:13" msgid "Implementing Color Management" msgstr "" #: ./postscript-driver.html:14 msgctxt "./postscript-driver.html:14" msgid "Adding Mac OS X Features" msgstr "" #: ./postscript-driver.html:15 msgctxt "./postscript-driver.html:15" msgid "Deploying Your Driver" msgstr "" #: ./postscript-driver.html:16 msgctxt "./postscript-driver.html:16" msgid "Printer Driver Basics" msgstr "" #: ./postscript-driver.html:17 msgid "" "A CUPS PostScript printer driver consists of a PostScript Printer " "Description (PPD) file that describes the features and capabilities of the " "device, zero or more filter programs that prepare print data for " "the device, and zero or more support files for color management, online " "help, and so forth. The PPD file includes references to all of the filters " "and support files used by the driver." msgstr "" #: ./postscript-driver.html:18 msgid "" "Every time a user prints something the scheduler program, cupsd(8), determines the format of the print job and the " "programs required to convert that job into something the printer " "understands. CUPS includes filter programs for many common formats, for " "example to convert Portable Document Format (PDF) files into device-" "independent PostScript, and then from device-independent PostScript to " "device-dependent PostScript. Figure 1 shows the data " "flow of a typical print job." msgstr "" #: ./postscript-driver.html:19 msgctxt "./postscript-driver.html:19" msgid "PostScript Filter Chain" msgstr "" #: ./postscript-driver.html:20 msgid "Figure 1: PostScript Filter Chain" msgstr "" #: ./postscript-driver.html:21 msgctxt "./postscript-driver.html:21" msgid "PostScript Filter Chain" msgstr "" #: ./postscript-driver.html:22 msgid "" "The optional PostScript filter can be provided to add printer-specific " "commands to the PostScript output that cannot be represented in the PPD file " "or to reorganize the output for special printer features. Typically this is " "used to support advanced job management or finishing functions on the " "printer. CUPS includes a generic PostScript filter that handles all PPD-" "defined commands." msgstr "" #: ./postscript-driver.html:23 msgid "" "The optional port monitor handles interface-specific protocol or encoding " "issues. For example, many PostScript printers support the Binary " "Communications Protocol (BCP) and Tagged Binary Communications Protocol " "(TBCP) to allow applications to print 8-bit (\"binary\") PostScript jobs. CUPS " "includes port monitors for BCP and TBCP, and you can supply your own port " "monitors as needed." msgstr "" #: ./postscript-driver.html:24 msgid "" "The backend handles communications with the printer, sending print data from " "the last filter to the printer and relaying back-channel data from the " "printer to the upstream filters. CUPS includes backend programs for common " "direct-connect interfaces and network protocols, and you can provide your " "own backend to support custom interfaces and protocols." msgstr "" #: ./postscript-driver.html:25 msgid "" "The scheduler also supports a special \"command\" file format for sending " "maintenance commands and status queries to a printer or printer driver. " "Command print jobs typically use a single command filter program defined in " "the PPD file to generate the appropriate printer commands and handle any " "responses from the printer. Figure 2 shows the data " "flow of a typical command job." msgstr "" #: ./postscript-driver.html:26 msgctxt "./postscript-driver.html:26" msgid "Command Filter Chain" msgstr "" #: ./postscript-driver.html:27 msgid "Figure 2: Command Filter Chain" msgstr "" #: ./postscript-driver.html:28 msgctxt "./postscript-driver.html:28" msgid "Command Filter Chain" msgstr "" #: ./postscript-driver.html:29 msgid "" "PostScript printer drivers typically do not require their own command filter " "since CUPS includes a generic PostScript command filter that supports all " "of the standard functions using PPD-defined commands." msgstr "" #: ./postscript-driver.html:30 msgctxt "./postscript-driver.html:30" msgid "Creating New PPD Files" msgstr "" #: ./postscript-driver.html:31 msgid "" "We recommend using the CUPS PPD compiler, ppdc(1), to create new PPD files since it manages many of the " "tedious (and error-prone!) details of paper sizes and localization for you. " "It also allows you to easily support multiple devices from a single source " "file. For more information see the \"Introduction " "to the PPD Compiler\" document. Listing 1 shows " "a driver information file for a black-and-white PostScript printer." msgstr "" #: ./postscript-driver.html:32 msgid "Listing 1: \"examples/postscript.drv\"" msgstr "" #: ./postscript-driver.html:33 msgid "Required Attributes" msgstr "" #: ./postscript-driver.html:34 msgid "" "PostScript drivers require the attributes listed in Table " "1. If not specified, the defaults for CUPS drivers are used. A typical " "PostScript driver information file would include the following attributes:" msgstr "" #: ./postscript-driver.html:35 msgid "Required PostScript Printer Driver Attributes" msgstr "" #: ./postscript-driver.html:36 msgid "" "Table 1: Required PostScript Printer Driver Attributes" msgstr "" #: ./postscript-driver.html:37 msgid "Attribute" msgstr "" #: ./postscript-driver.html:38 msgid "Description" msgstr "" #: ./postscript-driver.html:39 msgid "DefaultColorSpace" msgstr "" #: ./postscript-driver.html:40 msgid "" "The default colorspace: \tGray, RGB, CMY, or \t" "CMYK. If not specified, then RGB is \tassumed." msgstr "" #: ./postscript-driver.html:41 msgid "LandscapeOrientation" msgstr "" #: ./postscript-driver.html:42 msgid "" "The preferred landscape \torientation: Plus90, Minus90, or " "\tAny. If not specified, Plus90 is \tassumed." msgstr "" #: ./postscript-driver.html:43 msgid "LanguageLevel" msgstr "" #: ./postscript-driver.html:44 msgid "" "The PostScript language \tlevel supported by the device: 1, 2, or 3. If not \t" "specified, 2 is assumed." msgstr "" #: ./postscript-driver.html:45 msgid "Product" msgstr "" #: ./postscript-driver.html:46 msgid "" "The string returned by \tthe PostScript product operator, which \t" "must include parenthesis to conform with \tPostScript syntax rules for " "strings. Multiple \tProduct attributes may be specified to support " "\tmultiple products with the same PPD file. If not \tspecified, \"(ESP " "Ghostscript)\" and \"(GNU Ghostscript)\" \tare assumed." msgstr "" #: ./postscript-driver.html:47 msgid "PSVersion" msgstr "" #: ./postscript-driver.html:48 msgid "" "The PostScript \tinterpreter version numbers as returned by the \t" "version and revision operators. The \trequired format is " "\"(version) revision\". Multiple \tPSVersion attributes may be " "specified to \tsupport multiple interpreter version numbers. If not \t" "specified, \"(3010) 705\" and \"(3010) 707\" are \tassumed." msgstr "" #: ./postscript-driver.html:49 msgid "TTRasterizer" msgstr "" #: ./postscript-driver.html:50 msgid "" "The type of TrueType \tfont rasterizer supported by the device, if any. The \t" "supported values are None, Accept68k, \tType42, " "and TrueImage. If not \tspecified, None is assumed." msgstr "" #: ./postscript-driver.html:51 msgid "Query Commands" msgstr "" #: ./postscript-driver.html:52 msgid "" "Most PostScript printer PPD files include query commands " "(?PageSize, etc.) that allow applications to query the printer for " "its current settings and configuration. Query commands are included in " "driver information files as attributes. For example, the example in Listing 1 uses the following definition for the " "PageSize query command:" msgstr "" #: ./postscript-driver.html:53 msgid "" "Query commands can span multiple lines, however no single line may contain " "more than 255 characters." msgstr "" #: ./postscript-driver.html:54 msgctxt "./postscript-driver.html:54" msgid "Importing Existing PPD Files" msgstr "" #: ./postscript-driver.html:55 msgid "" "CUPS includes a utility called ppdi(1) which " "allows you to import existing PPD files into the driver information file " "format used by the PPD compiler ppdc(1). Once " "imported, you can modify, localize, and regenerate the PPD files easily. " "Type the following command to import the PPD file mydevice.ppd " "into the driver information file mydevice.drv:" msgstr "" #: ./postscript-driver.html:56 msgid "" "If you have a whole directory of PPD files that you would like to import, " "you can list multiple filenames or use shell wildcards to import more than " "one PPD file on the command-line:" msgstr "" #: ./postscript-driver.html:57 msgid "" "If the driver information file already exists, the new PPD file entries are " "appended to the end of the file. Each PPD file is placed in its own group of " "curly braces within the driver information file." msgstr "" #: ./postscript-driver.html:58 msgctxt "./postscript-driver.html:58" msgid "Using Custom Filters" msgstr "" #: ./postscript-driver.html:59 msgid "" "Normally a PostScript printer driver will not utilize any additional print " "filters. For drivers that provide additional filters such as a CUPS command " "file filter for doing printer maintenance, you must also list the following " "Filter directive to handle printing PostScript files:" msgstr "" #: ./postscript-driver.html:60 msgid "Custom Command Filters" msgstr "" #: ./postscript-driver.html:61 msgid "" "The application/vnd.cups-command file type is used for CUPS command " "files. Use the following Filter directive to handle CUPS command " "files:" msgstr "" #: ./postscript-driver.html:62 msgid "" "To use the standard PostScript command filter, specify " "commandtops as the path to the command filter." msgstr "" #: ./postscript-driver.html:63 msgid "Custom PDF Filters" msgstr "" #: ./postscript-driver.html:64 msgid "" "The application/pdf file type is used for unfiltered PDF files " "while the application/vnd.cups-pdf file type is used for filtered " "PDF files. Use the following Filter directive to handle filtered " "PDF files:" msgstr "" #: ./postscript-driver.html:65 msgid "For unfiltered PDF files, use:" msgstr "" #: ./postscript-driver.html:66 msgid "" "Custom PDF filters that accept filtered data do not need to perform number-" "up processing and other types of page imposition, while those that accept " "unfiltered data MUST do the number-up processing themselves." msgstr "" #: ./postscript-driver.html:67 msgid "Custom PostScript Filters" msgstr "" #: ./postscript-driver.html:68 msgid "" "The application/vnd.cups-postscript file type is used for filtered " "PostScript files. Use the following Filter directive to handle " "PostScript files:" msgstr "" #: ./postscript-driver.html:69 msgctxt "./postscript-driver.html:69" msgid "Implementing Color Management" msgstr "" #: ./postscript-driver.html:70 msgid "Talk about ICC color profiles and sRGB as two best options." msgstr "" #: ./postscript-driver.html:71 msgctxt "./postscript-driver.html:71" msgid "Adding Mac OS X Features" msgstr "" #: ./postscript-driver.html:72 msgid "Talk about help books, icons, and PDEs." msgstr "" #: ./postscript-driver.html:73 msgctxt "./postscript-driver.html:73" msgid "Deploying Your Driver" msgstr "" #: ./postscript-driver.html:74 msgid "Talk about install locations, etc." msgstr ""