#, 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-overview.html:1 msgid "Introduction to CUPS Programming" msgstr "" #: ./api-overview.html:2 msgid "Programming" msgstr "" #: ./api-overview.html:3 msgid "Mini-XML v2.6" msgstr "" #: ./api-overview.html:4 msgid "General Information" msgstr "" #: ./api-overview.html:5 msgid "Headers" msgstr "" #: ./api-overview.html:6 msgid "" "cups/cups.h
\tcups/array.h
\tcups/backend.h
\tcups/dir.h
\t" "cups/file.h
\tcups/ppd.h
\tcups/raster.h
\tcups/sidechannel.h" msgstr "" #: ./api-overview.html:7 msgid "Libraries" msgstr "" #: ./api-overview.html:8 msgid "-lcups
\t-lcupsimage" msgstr "" #: ./api-overview.html:9 msgid "See Also" msgstr "" #: ./api-overview.html:10 msgid "" "Programming: Developing Raster " "Printer Drivers
\tProgramming: Developing PostScript Printer Drivers
\tProgramming: Filter and Backend Programming
" "\tProgramming: Introduction to the " "PPD Compiler
\tProgramming: Array API
\tProgramming: CUPS API
\tProgramming: File and Directory APIs
\tProgramming: HTTP and IPP APIs
\tProgramming: PPD API
\tProgramming: Raster API
\tReferences: PPD Compiler Driver Information File " "Reference
\tSpecifications: CUPS PPD Extensions" msgstr "" #: ./api-overview.html:11 msgid "Contents" msgstr "" #: ./api-overview.html:12 msgctxt "./api-overview.html:12" msgid "Overview" msgstr "" #: ./api-overview.html:13 msgctxt "./api-overview.html:13" msgid "Compiling Programs" msgstr "" #: ./api-overview.html:14 msgctxt "./api-overview.html:14" msgid "Compiling with Xcode" msgstr "" #: ./api-overview.html:15 msgctxt "./api-overview.html:15" msgid "Compiling with GCC" msgstr "" #: ./api-overview.html:16 msgctxt "./api-overview.html:16" msgid "Where to Go Next" msgstr "" #: ./api-overview.html:17 msgctxt "./api-overview.html:17" msgid "Overview" msgstr "" #: ./api-overview.html:18 msgid "" "CUPS provides two libraries that interface with the different parts of the " "printing system. The \"cups\" library provides all of the common application " "and filter functions while the \"cupsimage\" library provides all of the " "imaging functions used in raster printer drivers. The \"cups\" library " "functions are accessed by including the header, " "while \"cupsimage\" functions are found in the " "header." msgstr "" #: ./api-overview.html:19 msgctxt "./api-overview.html:19" msgid "Compiling Programs" msgstr "" #: ./api-overview.html:20 msgid "" "The CUPS libraries can be used from any C, C++, or Objective C program. The " "method of compiling against the libraries varies depending on the operating " "system and installation of CUPS. The following sections show how to compile " "a simple program (shown below) in two common environments." msgstr "" #: ./api-overview.html:21 msgid "" "The following simple program lists the available printers on the system:" msgstr "" #: ./api-overview.html:22 msgctxt "./api-overview.html:22" msgid "Compiling with Xcode" msgstr "" #: ./api-overview.html:23 msgid "" "In Xcode, choose New Project... from the File menu, " "then select the Standard Tool project type under Command " "Line Utility. Click Next and choose a project directory. " "Click Next to create the project." msgstr "" #: ./api-overview.html:24 msgid "" "In the project window, double-click on the Targets group and " "control-click on the simple target to show the context menu. Choose " "Existing Framework... from the Add submenu. When the " "file chooser sheet appears, press the / key and enter \"/usr/lib\". " "Scroll down the file list and select the libcups.dylib file. " "Click the Add button in the file chooser and attributes sheets." msgstr "" #: ./api-overview.html:25 msgid "" "In the project window, double-click on the main.c source file. " "Replace the template source code with the listing above and save it. Click " "the Build and Go button to build the sample program and run it." msgstr "" #: ./api-overview.html:26 msgctxt "./api-overview.html:26" msgid "Compiling with GCC" msgstr "" #: ./api-overview.html:27 msgid "" "From the command-line, create a file called sample.c using your " "favorite editor and then run the following command to compile it with GCC " "and run it:" msgstr "" #: ./api-overview.html:28 msgid "" "The cups-config command provides the compiler flags (\"cups-" "config --cflags\") and libraries (\"cups-config --libs\") needed for the local " "system." msgstr "" #: ./api-overview.html:29 msgctxt "./api-overview.html:29" msgid "Where to Go Next" msgstr "" #: ./api-overview.html:30 msgid "" "If you are developing a print filter, driver, or backend, see the Filter and Backend Programming guide. " "Raster printer driver developers should also read the Raster API reference." msgstr ""